v4
latestOpenAPI 3.1.02026-08-02261331761.5 KBOrganizations
Restore Organization
Restores a soft-deleted organization. Superuser-only endpoint.
Clears the deleted_at timestamp so the organization becomes visible again. UUID-only: slug lookup is not accepted because org keys are only unique among active orgs (partial unique index on key WHERE deleted_at IS NULL). Idempotent: calling restore on an already-active org returns the current row. Returns 403 if the caller is not a superuser. Returns 404 if no organization with the given id exists. Returns 409 if another active org has reused this org's key while it was soft-deleted — the key must be freed before this org can be restored. Returns 422 if org_id is not a valid UUID.
post/v2/orgs/{org_id}/restore
Path parameters
org_idstring uuid required
Organization UUID (slug not accepted)
Organization UUID (slug not accepted)
Response
Successful Response