Users

Update a user.

Neither the email or the username field which can be updated, and only administrators can update a user's role.

put/users/{userId}.json

Request

Path parameters

userIdstring uuid required

ID for the user being manipulated. Can be set to me when viewing a user.

Request body

role_idstring uuid
disabledboolean

Response

Operation is successful

Example response

{
  "header": {
    "servertime": 1720702619,
    "message": "The operation was successful.",
    "url": "/auth/verify.json",
    "code": 200
  }
}

Changes

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