Suspend Tenant
POST
/v1/platform/tenants/{tenant_id}/suspend
const url = 'http://localhost:8080/v1/platform/tenants/example/suspend';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:8080/v1/platform/tenants/example/suspendParameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” tenant_id
required
Tenant Id
string
Responses
Section titled “ Responses ”Successful Response
Media type application/json
Response Suspend Tenant V1 Platform Tenants Tenant Id Suspend Post
object
key
additional properties
any
Example generated
{}Validation Error
Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}