# Delete invitation

```http
DELETE /projects/{project_reference}/invitations/{invitation_id}
```

Delete an invitation. Requires project.invites.manage; API keys also need delete scope.

## Parameters

| Name                | In   | Required | Description                                                |
| ------------------- | ---- | -------- | ---------------------------------------------------------- |
| `project_reference` | path | Yes      | Project slug, UUID, or domain that identifies the project. |
| `invitation_id`     | path | Yes      | Invitation ID.                                             |

## Responses

| Status | Description                                                                                                   |
| ------ | ------------------------------------------------------------------------------------------------------------- |
| 200    | The invitation was revoked                                                                                    |
| 400    | invalid\_input: invalid invitation ID                                                                         |
| 401    | unauthenticated                                                                                               |
| 403    | forbidden: the project is system-managed or the credential cannot delete. API keys also require delete scope. |
| 404    | not\_found: project or invitation not found                                                                   |
| 500    | internal                                                                                                      |
