Deletes a tenant
DELETE/iam/tenants/:id
Deletes a tenant from any resources tagged with it.
Also deletes this tenant from any tenant list in any policy statements. If the resulting tenant list for a given statement is empty, it is deleted. If the resulting policy has no statements, it is also deleted.
Authorization Action:
iam:tenants:delete
Request
Path Parameters
id stringrequired
ID of the tenant.
Responses
- 200
- default
A successful response.
- application/json
- Schema
- Example (from schema)
Schema
- object
{
"name": "My Custom Tenant",
"id": "custom-tenant"
}
An unexpected error response.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
code int32
message string
details object[]
@type string
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Loading...