Skip to main content

Claim initial Administrator access for the current human account

POST 

/api/v1/setup/claim

Requires an unclaimed installation, an ordinary same-origin cookie session for an active USER principal, and proof of the protected owner recovery credential. The required expectedPrincipalId must be the canonical principal identifier from the caller's confirmed session; a different cookie principal returns installation_setup_session_changed before consuming setup or granting a role. Missing, null, or malformed claimant identifiers return 400. The transaction permanently closes setup claiming, binds the built-in Administrator role, and appends a safe audit event. The recovery Owner remains separate.

Request​

Responses​

Setup claimed and current capabilities refreshed

Response Headers
    X-Request-Id

    Opaque request correlation identifier. ProblemDetails.requestId carries the same value on JSON failures.