/{app_slug}/v1/tenants/{tenant_id}AuthDelete a tenant. Cascades to tenant_membership rows; account rows are unaffected. PAK must hold auth.tenant.delete.
Path parameters
app_slug*stringSlug of the app.
tenant_id*stringId of the tenant.
Response · 204
Deleted.
Example
Request
DELETE https://api.auth.productcraft.co/{app_slug}/v1/tenants/{tenant_id}
Authorization: Bearer YOUR_TOKEN