curl --request POST \
--url https://apix.us.amity.co/api/v2/users/ban \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"userId": "<string>"
}'
This response does not have an example.
Ban a User
curl --request POST \
--url https://apix.us.amity.co/api/v2/users/ban \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"userId": "<string>"
}'
This response does not have an example.
User to be baned
The body is of type object
.
OK