PUT
/
api
/
v2
/
channel
/
{channelId}
/
mute
Mute channel
curl --request PUT \
  --url https://apix.us.amity.co/api/v2/channel/{channelId}/mute \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "mutePeriod": 123
}'
{
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

channelId
string
required

Body

application/json

Information of channel to be muted and period

The body is of type object.

Response

200
application/json

Mute/unmute information

The response is of type object.