Function delete_tenant_with_id

Source
pub async fn delete_tenant_with_id(
    configuration: &Configuration,
    tenant_id: &str,
    x_fusion_auth_tenant_id: Option<&str>,
    async: Option<&str>,
    tenant_delete_request: Option<TenantDeleteRequest>,
) -> Result<(), Error<DeleteTenantWithIdError>>
Expand description

Deletes the tenant based on the given Id on the URL. This permanently deletes all information, metrics, reports and data associated with the tenant and everything under the tenant (applications, users, etc). OR Deletes the tenant for the given Id asynchronously. This method is helpful if you do not want to wait for the delete operation to complete. OR Deletes the tenant based on the given request (sent to the API as JSON). This permanently deletes all information, metrics, reports and data associated with the tenant and everything under the tenant (applications, users, etc).