> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vertracloud.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Revoke Invite

> Revokes a pending invite. Requires `members:manage`; an API key needs the `workspaces:invites` scope.

<Note>
  An API key needs the `workspaces:invites` scope (only in the `full` preset or a custom
  selection). Creating invites stays dashboard-only.
</Note>

Requires `members:manage`.

### Path

<ParamField path="id" type="string" required>Workspace ID.</ParamField>
<ParamField path="invite_id" type="string" required>Invite ID.</ParamField>

### Response

Empty response on success.

### Errors

| Status | Code                          | When                                                                                           |
| ------ | ----------------------------- | ---------------------------------------------------------------------------------------------- |
| 403    | `API_KEY_SCOPE_DENIED`        | Called with an API key that lacks the `workspaces:invites` scope.                              |
| 403    | `WORKSPACE_PERMISSION_DENIED` | Caller lacks `members:manage`.                                                                 |
| 404    | `WORKSPACE_INVITE_NOT_FOUND`  | Invite doesn't exist, was already revoked/accepted/exhausted, or belongs to another workspace. |
