USERS

Update user role

Update a user's role.

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

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}/role
  • Auth: API key in header ServiceToken

Path parameters

userIdstring required

Request body

role'user' | 'moderator' | 'administrator' required

New role to assign to the user

Example request

{
  "role": "moderator"
}

Response

User role updated successfully

idstring uuid required
emailstring required
usernamestring required
avatarstring required

Changes

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