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."
}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."
}