> ## 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.

# Decline Invite

> Declines an invite without joining. Any logged-in account; an API key needs the `workspaces:invites` scope.

<Note>
  An API key needs the `workspaces:invites` scope and acts as the account that owns it: an
  e-mail invite only matches if that account's e-mail is the invited one. Same 10/min session+IP
  rate limit as [Preview Invite](/api-reference/endpoint/workspaces/invites/preview).
</Note>

### Path

<ParamField path="token" type="string" required>The invite token.</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.          |
| 404    | `WORKSPACE_INVITE_NOT_FOUND` | Token doesn't exist, or the invite was already revoked/accepted/exhausted. |
| 410    | `WORKSPACE_INVITE_EXPIRED`   | Invite existed but its expiry has passed.                                  |
