Skip to main content
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>"
}
'
{
  "status": "error",
  "code": 400400,
  "message": "Resource Not Found."
}

Authorizations

X-API-Key
string
header
required

Body

application/json

User to be baned

userId
string
required

Response

OK