DELETE /v1/orgs/:org_id/invitations/:id
Revoke a pending invitation.
::: tip Auth
Required: cookie or Bearer. Required permission: members.invite.
:::
Request
DELETE /v1/orgs/:org_id/invitations/:id
Response
204 No Content
The invitation status is set to revoked. The token will no longer accept.
Error responses
| Status | Code | When |
|---|---|---|
| 401 | authentication_required | No valid auth credential. |
| 403 | forbidden | Org mismatch or missing permission. |
| 404 | not_found | Invitation doesn't exist in this org. |
Notes
- An audit entry (
members.invitation_revoked) is recorded.