Queue tenant provisioning
Requires onboarding_admin + CSRF. Returns 409 unless the tenant’s lifecycle state is draft, provisioning, or onboarding. Enqueues (or resumes) a durable provision_tenant platform job — idempotency key provision:{tenant_id} — that creates the tenant’s Postgres schema, runs the tenant_template migrations into it, grants the app_rw role, seeds default role profiles, verifies object storage, and finally flips lifecycle state to onboarding. Every step is independently idempotent, so a retried or resumed job skips already-completed steps. Returns 202 with the job id immediately; poll GET .../provision/status for progress.
Path Parameters
Response
Successful Response
The response is of type Response Provision Admin Tenants Tenant Id Provision Post · object.