Withdraw or restore a tenant's service without deleting its data (superadmin)
const url = 'https://example.com/v1/system/orgs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/status';const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"status":"active"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://example.com/v1/system/orgs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/status \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "status": "active" }'Withdraws or restores the SERVICE of one tenant without touching its data, the step between served and deleted.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Tenant identifier (UUIDv7).
Request Body required
Section titled “Request Body required ”object
Suspended withdraws service WITHOUT deleting anything: mutations and interactive service are refused with 423 tenant_suspended. Three things deliberately continue. (1) Authentication and the operator’s /v1/system routes, so the tenant can be explained and restored. (2) EXPORT of the tenant’s own data — /v1/audit/export and the module portability routes — because withdrawing service must not hold a customer’s data hostage; an export taken while service is withdrawn is recorded on the tenant’s own audit chain. (3) Custodial work: the chain keeps being checkpointed and stays verifiable and backup-certifiable. active restores service losslessly. Deleting a tenant is the separate, destructive DELETE /v1/system/orgs/{tenant_id}.
Responses
Section titled “ Responses ”OK
object
Example generated
{ "created_at": "2026-04-15T12:00:00Z", "data_region": "example", "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "name": "example", "slug": "example", "status": "example", "tenant_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}Bad request
object
object
Example generated
{ "error": { "code": "example", "message": "example" }}Unauthenticated
object
object
Example generated
{ "error": { "code": "example", "message": "example" }}Forbidden
object
object
Example generated
{ "error": { "code": "example", "message": "example" }}Not found
object
object
Example generated
{ "error": { "code": "example", "message": "example" }}Conflict / setup required
object
object
Example generated
{ "error": { "code": "example", "message": "example" }}Rate limited
object
object
Example generated
{ "error": { "code": "example", "message": "example" }}