Referencia de APIChats / Channel
Update Channel by channelid toggle state
← Back to full API reference
PATCH
/v1/channel/:channelId/toggle-stateAuth requiredRequest details
Path params
| Field | Required | Description |
|---|---|---|
| channelId | Yes | Required path parameter. |
Default payloads
Path params
json
{
"channelId": 1
}Query
json
{}Body
json
{}Sample response
json
{
"state": "<newState>"
}