Revoke invitation
DELETE /api/organizations/{org_id}/members/invite/{invitation_id}
Revoke a pending invitation, invalidating its token and invite link. Gated on the invite permission (admins/owners), same as creating and listing invitations. Raises: HTTPException 404: Unknown invitation, or it belongs to another org HTTPException 409: Invitation is not pending (already accepted/expired)
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
org_id | path | `string | null` | yes |
invitation_id | path | integer | yes | — |
X-Org-Id | header | `string | null` | no |
Responses
| Status | Description |
|---|---|
204 | Successful Response |
422 | Validation Error |
Operation ID: revoke_invitation_api_organizations__org_id__members_invite__invitation_id__delete