---
title: "Withdraw an invitation"
description: "The link stops working at once."
url: "https://openemail.uk/docs/api/members/invitations-revoke"
area: "API"
category: "Roles & access"
---

# Withdraw an invitation

The link stops working at once.

`DELETE /members/invitations/{invitationId}`

## 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": "sam@acme.com",
  "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.
