USERS

Ban or unban a user

Change the ban status of a user

patch/v2/services/users/{userId}/ban

Request

  • Base URL: https://api.zee-verse.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.zee-verse.com/v2/services/users/{userId}/ban
  • Auth: API key in header ServiceToken

Path parameters

userIdstring required

Request body

typestring

Ban type: 1 = temporary, 2 = permanent, null = unban

reasonstring

Reason for banning the user

Example request

{
  "reason": "Inappropriate language in chat"
}

Response

User banned/unbanned successfully

idstring uuid required
emailstring required
usernamestring required
avatarstring required

Changes

No recorded changes to this operation across all 1 revision of this API.