Method: accounts.labels.delete

  • Deletes a specific label and removes it from all associated accounts.

  • Requires an HTTP DELETE request to the specified endpoint with the label's name in the URL.

  • The request body should be empty, and a successful deletion results in an empty response body.

  • Requires authorization with the https://www.googleapis.com/auth/content scope.

Deletes a label and removes it from all accounts to which it was assigned.

HTTP request

DELETE https://css.googleapis.com/v1/{name=accounts/*/labels/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the label to delete. Format: accounts/{account}/labels/{label}

Request body

The request body must be empty.

Response body

If successful, the response body is an empty JSON object.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.