# Delete account invitation

```http
DELETE /accounts/{account_id}/invitations/{invitation_id}
```

Delete account invitation. Requires account.invitations.manage; API keys also need delete scope.

## Parameters

| Name            | In   | Required | Description                                                                                                                                   |
| --------------- | ---- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| `account_id`    | path | Yes      |                                                                                                                                               |
| `invitation_id` | path | Yes      | Invitation to revoke. Expired or already revoked invitations succeed. Accepted invitations return 409; remove the account membership instead. |

## Responses

| Status | Description                                    |
| ------ | ---------------------------------------------- |
| 200    | Invitation revoked                             |
| 400    | Bad request                                    |
| 401    | Unauthorized                                   |
| 403    | Forbidden. API keys also require delete scope. |
| 404    | Not found                                      |
| 409    | Conflict                                       |
| 500    | Server error                                   |
