Tenants

Set tenant status

Sets the operational status of the tenant. The Service Orchestrator's S3 gateway must enforce these states:

  • active — read/write access.
  • write-locked — read-only; uploads and bucket creation blocked, but reads, listings, and deletes succeed.
  • disabled — all access blocked. Data is persisted and recoverable by transitioning back to active.

Setting the same status twice is a no-op (still returns 204).

post/tenants/{tenantId}/status

Request

  • Base URL: https://api.example.com
  • URL: https://api.example.com/tenants/{tenantId}/status
  • Auth: HTTP bearer

Request body

status'active' | 'write-locked' | 'disabled' required
  • active — read/write
  • write-locked — read-only; uploads and bucket creation blocked
  • disabled — all access blocked, data persisted

Response

Status updated (or unchanged).

Changes

No recorded changes to this operation across all 6 revisions of this API.