/{app_slug}/v1/tenants/{tenant_id}/invites/{invite_id}AuthRevoke 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*stringSlug of the app.
tenant_id*stringId of the tenant.
invite_id*stringId 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_TOKENimport { Auth } from "@productcraft/auth";
// Admin routes read PRODUCTCRAFT_API_KEY; consumer routes need no key
const auth = new Auth();
await auth.consumer("my-app").tenants.invites.delete("3f0c3c1e-8a2b-4c55-9d3f-0a1b2c3d4e5f", "3f0c3c1e-8a2b-4c55-9d3f-0a1b2c3d4e5f");auth.consumer(…).tenants.invites.delete(tenantId, inviteId, options?): void