Change a user's lifecycle status (admin)
PUT /admin/users/{ref}/status
Admin-only lifecycle transition. Moves a user through pending / active / disabled. The audit log records the before / after / reason tuple.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Request Body required
Section titled “Request Body required ”object
Free-text justification recorded in the audit log alongside the before/after pair. Encouraged but not required — an empty reason still produces an audit row.
Responses
Section titled “ Responses ”New status (after the transition).
object
False when the target status equals the current status (the handler short-circuits the write but still returns 200 so idempotent automation doesn’t trip on a no-op).
Malformed request
object
Human-readable error summary
Example
the request could not be completedAuthentication required, missing, or invalid
object
Human-readable error summary
Example
the request could not be completedExample
{ "error": "authentication required: sign in and retry with a valid session or API token"}Authenticated but missing required capabilities
object
Human-readable error summary
Example
the request could not be completedResource not found
object
Human-readable error summary
Example
the request could not be completedUnexpected server error
object
Human-readable error summary
Example
the request could not be completed