---
title: "Revoke an invitation"
description: "Cancels the invitation, and its email link stops working right away. Needs a signed-in owner or admin. An API key gets 403."
canonical: https://docs.rumoro.dev/api/members/revoke-invitation
markdown: https://docs.rumoro.dev/api/members/revoke-invitation.mdx
---

# Revoke an invitation

`DELETE /v1/members/invitations/{id}`

Cancels the invitation, and its email link stops working right away. Needs a signed-in owner or admin. An API key gets 403.

## Parameters

| Name | In | Description |
| --- | --- | --- |
| `id` | path, required | The invitation's id (inv_...). |

## Responses

| Status | Meaning |
| --- | --- |
| 204 | The key no longer works |
| 401 | The API key is missing or not valid |
| 403 | An API key was used, or the signed-in user is not an owner or admin |
| 404 | No pending invitation with this id |

The [OpenAPI document](https://api.rumoro.dev/v1/openapi.json) has every schema. Rules shared by all endpoints are in [Conventions](https://docs.rumoro.dev/conventions.mdx).
