Consume a credential-establishment authority and set an initial credential.
Changed onThe named — and only — exception to "a new credential may never authorize its own enrolment" (human-auth ADR § Credential-establishment authority). The authority is target-bound, purpose-bound, single-use, expiring, and issued only by the bootstrap path, credential-reset, a member invitation, local break-glass, or recovery.
Consuming it establishes exactly one initial credential, atomically, and nothing more: no session is created, no assurance is carried, no reauthentication window opens. The holder authenticates afterwards with the credential they just set, like anyone else.
Every refusal — unknown authority, expired, already consumed, wrong epoch, weak password — answers the same 401 so presentation reveals nothing about which authorities exist.
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/v1/auth/credential/establish
- Auth: none required
Request body
Response
Credential established. No session, no assurance.
Changes
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info
- warning
added the new
payload_too_largeenum value to the/response property for the response status - warning
added the new
payload_too_largeenum value to the/response property for the response status - warning
added the new
payload_too_largeenum value to the/response property for the response status - warning
added the new
payload_too_largeenum value to the/response property for the response status - warning
added the new
payload_too_largeenum value to the/response property for the response status - warning
added the new
unprocessableenum value to the/response property for the response status - warning
added the new
unprocessableenum value to the/response property for the response status - warning
added the new
unprocessableenum value to the/response property for the response status - warning
added the new
unprocessableenum value to the/response property for the response status - warning
added the new
unprocessableenum value to the/response property for the response status
- warning