Groups.aliases: insert

Adds an alias for the group. Try it now.

Request

HTTP request

POST https://www.googleapis.com/admin/directory/v1/groups/groupKey/aliases

Parameters

Parameter name Value Description
Path parameters
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.

Authorization

This request requires authorization with the following scope:

Scope
https://www.googleapis.com/auth/admin.directory.group

For more information, see the authentication and authorization page.

Request body

In the request body, supply a Groups.aliases resource with the following properties:

Property name Value Description Notes
Required Properties
alias string The alias email address. writable

Response

If successful, this method returns a Groups.aliases resource in the response body.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.