Auth API reference

Auth API · Consumer-Tenants

delete/{app_slug}/v1/tenants/{tenant_id}/members/{account_id}Auth

Remove a member from a tenant. The underlying account row stays in the app — only the tenant_membership row is deleted. PAK must hold auth.tenant.members.remove.

Path parameters

app_slug*string

Slug of the app.

tenant_id*string

Id of the tenant.

account_id*string

Id of the account.

Response · 204

Removed.

Example

Request

DELETE https://api.auth.productcraft.co/{app_slug}/v1/tenants/{tenant_id}/members/{account_id}
Authorization: Bearer YOUR_TOKEN