We will sunset v2 of the Content API on March 29th, 2021. To avoid disruptions with your integration, please migrate to v2.1 as soon as possible. For more information, see Migrating to v2.1.

REST Resource: accounts.labels

Resource: AccountLabel

Label assigned by CSS domain or CSS group to one of its sub-accounts.

JSON representation
{
  "labelId": string,
  "accountId": string,
  "name": string,
  "description": string
}
Fields
labelId

string (int64 format)

Output only. Immutable. The ID of the label.

accountId

string (int64 format)

Output only. Immutable. The ID of account this label belongs to.

name

string

The display name of this label.

description

string

Description for this label.

Methods

create

Creates a new label, not assigned to any account.

delete

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

list

Lists the labels assigned to an account.

patch

Updates a label.