Skip to content

Suspend or reactivate a tenant

POST
/admin/tenants/{id}/status
curl --request POST \
--url http://localhost:3000/admin/tenants/example/status \
--header 'Content-Type: application/json' \
--header 'X-Admin-Key: <X-Admin-Key>' \
--data '{ "status": "active" }'

Deletes the tenant’s Redis cache keys in the same operation — without that, suspension takes effect up to 60 seconds late (spec §5 step 1).

id
required
string
Media typeapplication/json
object
status
required
string
Allowed values: active suspended

The tenant, with its new status.