curl --request DELETE \
--url https://apix.us.amity.co/api/v3/video-streaming/{streamId}/viewer-bans \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"userIds": [
"<string>"
]
}'
{
"success": true
}
curl --request DELETE \
--url https://apix.us.amity.co/api/v3/video-streaming/{streamId}/viewer-bans \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"userIds": [
"<string>"
]
}'
{
"success": true
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Stream id to update
50
Successfully unbanned users
The response is of type object
.