Pular para o conteúdo

PUT /v1/users/{id}/channels

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

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

id
required
string
Media typeapplication/json
object
channelIds
required
Array<string>

Example generated

{
"channelIds": [
"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
]
}