Skip to the documentation
API

Withdraw an invitation

The link stops working at once.

DELETEapi.openemail.uk/members/invitations/{invitationId}

Runs the real call against your workspace, with your own key.

DELETE /members/invitations/{invitationId}

The link stops working at once.

Example

Needs members:write. Nothing the invitation would have granted is granted. Inviting the same address again later with POST /members sends a new one.

curl
curl -X DELETE "$OE/members/invitations/winv_6bb640f5b99e47deb758f1f5" -H "$AUTH"
Response
{  "object": "invitation",  "id": "winv_6bb640f5b99e47deb758f1f5",  "email": "[email protected]",  "revoked": true}

An invitation that was accepted first answers 409 invitation_accepted: remove the member instead. One that is unknown or already withdrawn answers 404.