![]() To retrieve a group, use the following GET request and include the authorization described in Authorize requests. Along with the status code, the response returns the properties for the new group alias. ![]() The groupKey is Group's unique id represented by NNNNĪ successful response returns an HTTP 201 status code. The following JSON request shows a sample request to create a group's alias. For the query strings, request, and response properties, see the API Reference: The groupKey is the group's email address, any of the group alias' email address, or the group's unique id. To add a group alias, use the following POST request and include the authorization described in Authorize requests. "description": "This is the APAC sales group.", Note:The API also supports the patch semantics. You do not need to enter all of the group's properties in the request. In the example below, the unique groupKey is 'nnn' and the group's name has been changed to APAC Sales Group:įor an update request, you only need to submit the updated information in your request. In general, Google recommends to not use the group's email address as a key for persistent data since the email address is subject to change. ![]() The groupKey is the group's email address, any of the group alias's email address, or the group's unique id. ![]() To update a group's settings, use the following PUT request and include the authorization described in Authorize requests. In addition, your client must wait a minute before adding a member or sending a message to a newly created group. You must call the Add a member to a group to add members to a new group. Note: A newly created group does not have any members. Along with the status code, the response returns the properties for the new group. "description": "This is the Sales group."Ī successful response returns an HTTP 201 status code. The group's email address is "Sales Group", The following JSON request shows a sample request body that creates a group. A group can be created for any domain associated with the account. To create a group, use the following POST request and include the authorization described in Authorize requests.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |