Method: deployments.groups.enable

  • The enable method allows enabling defined groups within a deployment.

  • The HTTP request uses a POST method with a specific URL structure including the deployment name.

  • The request body requires a list of groupNames strings to specify which groups to enable.

  • A successful response body is empty, and a NOT_FOUND error is returned if the path does not exist.

  • The request requires authorization using the https://www.googleapis.com/auth/android_partner_over_the_air OAuth scope.

Enables the defined groups. Returns NOT_FOUND if the matching path does not exist.

HTTP request

POST https://androidovertheair.googleapis.com/v1/{name=deployments/*}/groups:enable

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Relative resource name. For example: "deployments/deployment_x/groups"

Request body

The request body contains data with the following structure:

JSON representation
{
  "groupNames": [
    string
  ]
}
Fields
groupNames[]

string

Required. The groups should be enabled.

Response body

If successful, the response body is empty.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/android_partner_over_the_air

For more information, see the OAuth 2.0 Overview.