Method: projects.groups.create

Creates a new group.

HTTP request

POST https://monitoring.googleapis.com/v3/{name}/groups

Path parameters

Parameters
name

string

Required. The project in which to create the group. The format is:

projects/[PROJECT_ID_OR_NUMBER]

Query parameters

Parameters
validateOnly

boolean

If true, validate this request but do not create the group.

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://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/monitoring

For more information, see the Authentication Overview.