---
search:
  tags:
    - Members
    - DELETE
seo:
  description: >-
    Withdraws an open invitation. Its link and code stop working. Reference for
    the DELETE /_luna/orgs/{org}/invites/{id} endpoint in the Luna API.
sidebar:
  label: Revoke an invitation
  badge: DELETE
title: Revoke an invitation
type: openapi-operation
---
Withdraws an open invitation. Its link and code stop working.

`DELETE /_luna/orgs/{org}/invites/{id}`

**Responses**

- `200` — The invitation is revoked.
- `default` — The request failed. The status says how and \`error.message\` says why.

Response example, 200:

```json
{
  "ok": true
}
```
