v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13125317428.7 KB
accounts

Creates a new label, not assigned to any account.

post/accounts/{accountId}/labels

Path parameters

accountIdstring required

Required. The id of the account this label belongs to.

Request body

namestring

The display name of this label.

labelIdstring int64

Output only. The ID of the label.

accountIdstring int64

Immutable. The ID of account this label belongs to.

descriptionstring

The description of this label.

labelType'LABEL_TYPE_UNSPECIFIED' | 'MANUAL' | 'AUTOMATIC'

Output only. The type of this label.

Response

Successful response