POST
/
api
/
v2
/
users
/
ban
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.

Authorizations

X-API-Key
string
header
required

Body

application/json

User to be baned

The body is of type object.

Response

200

OK