DELETE /org/invitations/{invitation_id}
Revoke a pending invitation in the current org. The invitation row's status flips to revoked. Subsequent calls to GET /org/members and the invitee's GET /users/me/invitations drop the row.
Owner / admin only.
The invitation id comes from the invitation_id field on a pending row in GET /org/members (set on rows where user_id: null).
The row isn't hard-deleted. Keeping it preserves audit history of who tried to invite whom. If you re-invite the same email after a revoke, POST /org/members inserts a fresh pending row.
Path params
| Param | Type | Notes |
|---|---|---|
invitation_id | string (UUID) | The invitation's id. |
Request body: none.
Response 204: no body.
Errors
401: no credential.403 Forbidden: caller isn't owner/admin in the current org.404 NotFound: invitation not found, already accepted, already revoked, or in a different org.
Example
curl -X DELETE \
"$SEISMIC_ORCHESTRATION_URL/v0/org/invitations/5f5d…" \
-H "Authorization: Bearer $ACCESS_TOKEN"