DELETE /config/access/tenant_management/tenants/{tenant_id}
Delete a tenant.
Deletes a tenant by tenant id.
MIME Type |
---|
application/json |
Parameter | Type | Optionality | Data Type | MIME Type | Description |
---|---|---|---|---|---|
tenant_id |
path |
Required |
Number (Integer) |
text/plain |
Required - String - id associated to a tenant |
HTTP Response Code | Unique Code | Description |
---|---|---|
200 |
The tenant was deleted successfully (soft delete). |
|
404 |
1002 |
The tenant does not exists. |
422 |
1003 |
The tenant cannot be deleted while there are domains assigned to it. |
500 |
1020 |
An error occurred while deleting tenant. |
Response Description
the deleted tenant object with its parameter deleted set to true
Response Sample
{
"deleted": true,
"description": "String",
"event_rate_limit": 42,
"flow_rate_limit": 42,
"id": 42,
"name": "String"
}