Skip to content

Revoke a pending organization invitation

DELETE
/organizations/{org_id}/invitations/{inv_id}
curl --request DELETE \
--url https://api.perstat.io/organizations/example/invitations/example \
--header 'Authorization: Bearer <token>'

Revokes a pending invitation of the organization so its token can no longer be used to join. Requires member management rights; the revocation is audited. Returns 204 on success and 404 when the invitation does not exist.

org_id
required
string
inv_id
required
string