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

# Delete account invitation

> Delete account invitation.

`veryfront__delete_account_invitation`

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

## Access

No external-service connection is required. Use a Veryfront credential with access to the requested resources.

**Call type:** Can change resources.

## Arguments

| Field | Type | Required | Description and constraints |
| - | - | - | - |
| `account_id` | `string` | Yes | Account ID. Format: `uuid`. |
| `invitation_id` | `string` | Yes | Invitation to revoke. Expired or already revoked invitations succeed. Accepted invitations return 409; remove the account membership instead. Pending invitation to revoke. Already-expired invitations succeed with status expired; an accepted invitation is a conflict (remove the membership instead). Format: `uuid`. |
| `confirm` | `boolean` | Yes | Must be true to revoke the invitation. |

## Example request

Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See [MCP client setup](https://veryfront.com/docs/cloud/getting-started/connect-mcp.md).

```json title="request.json" theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__delete_account_invitation",
    "arguments": {
      "account_id": "00000000-0000-4000-8000-000000000000",
      "invitation_id": "00000000-0000-4000-8000-000000000000",
      "confirm": true
    }
  }
}
```

## Result

The published output shape is summarized below. Inspect both the MCP response content and `isError` when handling a call.

| Field | Type | Required | Description and constraints |
| - | - | - | - |
| `ok` | `boolean` | Yes | The ok returned by the tool. Value: `true`. |
| `id` | `string` | Yes | Deprecated: the `invitation_id` the request named. Use ok. |
| `status` | `string` | Yes | Deprecated: revoked or expired. Use ok. Values: `"deleted"`, `"revoked"`, `"expired"`. |

## Full schemas

```json title="input-schema.json" theme={null}
{
  "type": "object",
  "properties": {
    "account_id": {
      "type": "string",
      "format": "uuid",
      "description": "Account ID."
    },
    "invitation_id": {
      "type": "string",
      "format": "uuid",
      "description": "Invitation to revoke. Expired or already revoked invitations succeed. Accepted invitations return 409; remove the account membership instead. Pending invitation to revoke. Already-expired invitations succeed with status expired; an accepted invitation is a conflict (remove the membership instead)."
    },
    "confirm": {
      "type": "boolean",
      "description": "Must be true to revoke the invitation."
    }
  },
  "required": [
    "account_id",
    "invitation_id",
    "confirm"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#",
  "description": "Arguments for the delete_account_invitation tool."
}
```

```json title="output-schema.json" theme={null}
{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean",
      "const": true,
      "description": "The ok returned by the tool."
    },
    "id": {
      "type": "string",
      "description": "Deprecated: the invitation_id the request named. Use ok."
    },
    "status": {
      "type": "string",
      "enum": [
        "deleted",
        "revoked",
        "expired"
      ],
      "description": "Deprecated: revoked or expired. Use ok."
    }
  },
  "required": [
    "ok",
    "id",
    "status"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#",
  "description": "Structured result returned by the delete_account_invitation tool."
}
```

<details>
  <summary>Try this tool</summary>

  Replace sample arguments with values for your project or connected account. Calls run only when you select Run tool.

  MCP tool call

  Call `veryfront__delete_account_invitation` against the Veryfront MCP endpoint.

  Bearer token or API key

  Arguments (JSON)

  Run this tool with these arguments.

  Run tool

  Output JSON

  <pre />
</details>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.