curl --request DELETE \
--url https://apix.us.amity.co/api/v1/rooms/{roomId}/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/v1/rooms/{roomId}/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.
Room ID
50Information of viewers to be unbanned from the room
List of user IDs to unban from the room
1 - 100 elements50Successfully unbanned users