Update an administrator
/system/v2/accounts/administrators/{id}
Platform support: MT and CC
Token Cost: 2 tokens (low)
Updates a global site administrator. The body has the same general and password
sections as on create. All sections and fields are optional; omitted or null
sections and fields keep their current values.
A changed general.email must not already be used by another administrator.
An absent, null or empty password.password keeps the current password; a password
cannot be cleared. A supplied password must be repeated in password.confirm_password,
must meet the same policy as on create and, unless password checks are disabled,
must differ from the current password. It resets the password change time. It also invalidates any legacy (MD5) password the
account still had.
Re-enabling (general.disabled: false) an administrator that the inactivity policy
disabled sets its last login to now, which restarts the inactivity period.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 500
Administrator updated successfully
Invalid request
Unauthorized
Forbidden
Resource not found
Conflict - resource already exists or is in use
Internal server error