Deletes a tenant
DELETEhttps://apis.<domain>/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
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X DELETE 'https://connhex.com/iam/tenants/:id' \
-H 'Accept: application/json'