Pular para o conteúdo

PUT /v1/channels/{id}/routing

PUT
/v1/channels/{id}/routing
curl --request PUT \
--url https://seu-endereco-da-api/v1/channels/example/routing \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "defaultDepartmentId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" }'

Permissão que a Chave de acesso precisa: Gerenciar canais (channels:manage).

id
required
string
Media typeapplication/json
object
defaultDepartmentId
string format: uuid
nullable

Example generated

{
"defaultDepartmentId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
}