Pular para o conteúdo principal

PATCH /channels/:uuid

Updates an existing channel.

Required Parameters

ParameterTypeDescription
uuidstringThe identifier of the channel

Optional Parameters

ParameterTypeDescription
titlestringThe new title that will be given to the channel

Example Request

curl -X PATCH "https://api.callbell.eu/v1/channels/7c996996fea947f4a1d5a11e7fac84db" \
-H "Authorization: Bearer test_gshuPaZoeEG6ovbc8M79w0QyM" \
-H "Content-Type: application/json" \
-d '{"title": "New title"}'

Response

ParameterTypeDescription
channelChannelThe object representing the channel.

Example Response

response.json
{
"channel": {
"uuid": "7c996996fea947f4a1d5a11e7fac84db",
"title": "New title",
"type": "whatsapp",
"main": true
}
}