Method: groups.insert
HTTP request
POST https://admin.googleapis.com/admin/directory/v1/groups
The URL uses gRPC Transcoding syntax.
Request body
The request body contains an instance of Group
.
Response body
If successful, the response body contains a newly created instance of Group
.
Authorization scopes
Requires one of the following OAuth scopes:
https://apps-apis.google.com/a/feeds/groups/
https://www.googleapis.com/auth/admin.directory.group
For more information, see the Authorization guide.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-22 UTC.
[null,null,["Last updated 2024-08-22 UTC."],[[["Creates a group in Google Admin Directory using an HTTP POST request to a specific endpoint."],["The request must contain a `Group` object defining the group's properties and will return a `Group` object representing the created group on success."],["Proper authorization with specific OAuth scopes (`https://apps-apis.google.com/a/feeds/groups/` or `https://www.googleapis.com/auth/admin.directory.group`) is required to create a group."]]],[]]