c_agri_trade/docs/api/bruno/tenant/patch-tenant-status.bru

36 lines
634 B
Plaintext

meta {
name: Transition Tenant Lifecycle Status
type: http
seq: 2
}
patch {
url: {{baseUrl}}/api/v1/platform/tenants/{{tenantId}}/status
body: json
auth: bearer
}
auth:bearer {
token: {{sysadminJwt}}
}
headers {
Content-Type: application/json
Accept: application/json
}
body:json {
{
"status": "SUSPENDED",
"reason": "Administrative suspension pending KYC compliance review"
}
}
docs {
# Transition Tenant Lifecycle Status (FR-TENANTLIFECYCLE-001)
Transitions a tenant firm state between ACTIVE, SUSPENDED, and CLOSED.
Suspending or closing immediately blocks access for all member users.
}