Skip to main content

Finalize setup (default tenant provisioning)

POST 

/v1/setup/finalize

Authenticated-operator route. Drives the resumable setup-finalization saga for the administrator bound to it: persists the Tier-1 provisioning mode, ensures the reserved internal tenant, assigns it as the platform default, and marks setup complete. Idempotent — retrying the identical payload resumes the saga, and retrying after completion replays the persisted result. Answers 202 with {"state":"setup.finalization_in_progress"} plus Retry-After when an identical request already holds the stage lease (a success, not an error envelope), 403 when the caller is not the bound administrator or may not claim recovery, 409 for a different payload or an already-completed setup, and 503 when coordinator state cannot be read.

Request

Responses

OK

Response Headers
    Cache-Control
    Retry-After