Pular para o conteúdo principal
PATCH
Update a team

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

team_id
string
obrigatório

The ID of the team to be updated

Corpo

application/json
name
string

The name of the team

Exemplo:

"Support Team"

description
string

The description of the team

Exemplo:

"This is a team of support agents"

allow_auto_assign
boolean

If this setting is turned on, the system would automatically assign the conversation to an agent in the team while assigning the conversation to a team

Exemplo:

true

icon
string

The emoji or icon configured for the team

Exemplo:

"i-lucide-headphones"

icon_color
string

The color configured for the team icon

Exemplo:

"#0EA5E9"

Resposta

Success

id
number

The ID of the team

name
string

The name of the team

description
string | null

The description about the team

allow_auto_assign
boolean

If this setting is turned on, the system would automatically assign the conversation to an agent in the team while assigning the conversation to a team

icon
string

The emoji or icon configured for the team

icon_color
string

The color configured for the team icon

account_id
number

The ID of the account with the team is a part of

is_member
boolean

This field shows whether the current user is a part of the team