Update a user's role and state
PUT/api/v1/users/{id}
Replaces the global role and enabled state without changing username or password. ADMIN and CSRF are required.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”User identifier.
Request Bodyrequired
Section titled “Request Bodyrequired”ADMIN update for a user’s global role and enabled state.
object
Whether the account may authenticate.
Replacement global role.
Responses
Section titled “Responses”User updated
Public user administration record. Password hashes and credentials are never exposed.
object
Creation timestamp in UTC.
Whether the account may authenticate.
User identifier.
Global authorization role.
Last update timestamp in UTC.
Current username.
The request is malformed or fails validation.
RFC 7807 problem response. Dynamic detail text is credential-redacted.
object
Authentication is required or credentials are invalid.
RFC 7807 problem response. Dynamic detail text is credential-redacted.
object
The authenticated identity lacks the required permission.
RFC 7807 problem response. Dynamic detail text is credential-redacted.
object
The requested resource does not exist or is not visible.
RFC 7807 problem response. Dynamic detail text is credential-redacted.