Method: deployments.groups.disable

  • This document outlines how to disable deployment groups using an HTTP POST request.

  • The request includes a path parameter for the resource name and a request body containing the names of the groups to disable.

  • A successful request returns an empty response body.

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

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

HTTP request

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

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 that should be disabled.

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.