Pular para o conteúdo principal
PUT
Update a label

Autorizações

api_access_token
string
header
obrigatório

Token de acesso do usuário (Perfil → Token de acesso). Dá acesso conforme o papel do usuário e age em nome dele.

Parâmetros de caminho

account_id
string
obrigatório

The numeric ID of the account

id
number
obrigatório

ID of the label

Corpo

application/json
title
string

The label title

Exemplo:

"support"

description
string

A short description for the label

Exemplo:

"Conversations that need support follow-up"

color
string

Hex color code for the label

Exemplo:

"#1f93ff"

show_on_sidebar
boolean

Whether the label should appear in the sidebar

Exemplo:

true

Resposta

Success

id
number

The ID of the label

title
string

The title of the label

description
string

The description of the label

color
string

Hex color code for the label

show_on_sidebar
boolean

Whether the label should appear in the sidebar