Method: accounts.labels.create

Creates a new label, not assigned to any account.

HTTP request

POST https://css.googleapis.com/v1/{parent=accounts/*}/labels

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent account. Format: accounts/{account}

Request body

The request body contains an instance of AccountLabel.

Response body

If successful, the response body contains a newly created instance of AccountLabel.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.