Appearance
DELETE
/global/tenant/tenants/{tenantId}Required scope:
viskan-global:tenant:deleteDeletes a tenant.
Parameters
Path parameters
tenantId string Format:
uuidThe ID of the tenant to delete.
Query parameters
tenantName stringThe name of the tenant to delete. Used to verify the deletion.
Response
The tenant was successfully deleted.
| Error code | Description |
|---|---|
cannot-delete-active-tenant | Tenants must be deactivated before they can be deleted. |
incorrect-tenant-name | The tenant name provided does not match the tenant name of the tenant being deleted. |
not-implemented | Deletion of tenants is not yet implemented. |
tenant-not-found | No tenant was found with the given ID. |