Method: groups.aliases.insert
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
ग्रुप के लिए कोई दूसरा नाम जोड़ता है.
एचटीटीपी अनुरोध
POST https://admin.googleapis.com/admin/directory/v1/groups/{groupKey}/aliases
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
groupKey |
string
एपीआई अनुरोध में ग्रुप की पहचान करता है. वैल्यू के तौर पर, ग्रुप का ईमेल पता, ग्रुप का उपनाम या ग्रुप का यूनीक आईडी दिया जा सकता है.
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में GroupAlias
का उदाहरण है.
जवाब का मुख्य भाग
कामयाब रहने पर, जवाब के मुख्य हिस्से में GroupAlias
का नया इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/admin.directory.group
ज़्यादा जानकारी के लिए, अनुमति से जुड़ी गाइड देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[],[],null,["# Method: groups.aliases.insert\n\nAdds an alias for the group.\n\n### HTTP request\n\n`POST https://admin.googleapis.com/admin/directory/v1/groups/{groupKey}/aliases`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|------------|------------------------------------------------------------------------------------------------------------------------------------|\n| `groupKey` | `string` Identifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID. |\n\n### Request body\n\nThe request body contains an instance of [GroupAlias](/workspace/admin/directory/reference/rest/v1/groups.aliases#GroupAlias).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [GroupAlias](/workspace/admin/directory/reference/rest/v1/groups.aliases#GroupAlias).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/admin.directory.group`\n\nFor more information, see the [Authorization guide](/workspace/guides/configure-oauth-consent)."]]