Skip to main content

Update a user

PUT 

/panel/users/:user

Updates a user's name and email. The password is changed only when a non-empty password is supplied; omit it to leave the password unchanged.

is_admin is ignored when the target user is yourself — you cannot add or remove your own platform administrator access through this endpoint. For any other user, admin access is granted or revoked to match is_admin.

Request

Responses

success reflects only the name/email/password update, and can be false when those values did not change. The is_admin change is applied separately and is not reflected in success — re-fetch the user to confirm it.