Issue a one-shot password for a user (admin helpdesk)
POST /admin/users/{ref}/password-reset
Admin/helpdesk password reset. Generates a cryptographically random temporary password, stores its hash, and returns the plaintext ONCE in the response so the admin can share it with the user out-of-band (chat / SMS / call). The user is expected to change it on next login; enforcement of “must change on first login” lands with the email-token reset flow in a follow-up phase. Audit captures the actor + reason; the plaintext password is never logged.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Request Body
Section titled “Request Body ”object
Admin-supplied justification recorded in the audit log. Encouraged but not required — an empty reason still produces an audit row.
Responses
Section titled “ Responses ”One-shot password generated.
object
Plaintext one-shot password — returned ONCE so the admin can share it with the user. The server stores only the hash; this value is never reachable again from any API. Generators must use a cryptographically strong RNG; this response should be considered as sensitive as the hash-bearing original.
Authentication 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