Auth API reference

Auth API · Consumer-Tenants

delete/{app_slug}/v1/tenants/{tenant_id}/invites/{invite_id}Auth

Revoke a pending invite. Idempotent — revoking an already-revoked invite is a 204 no-op and fires no second webhook. PAK must hold auth.tenant.members.remove.

Path parameters

app_slug*string

Slug of the app.

tenant_id*string

Id of the tenant.

invite_id*string

Id of the invite.

Response · 204

Revoked.

Example

Request

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