# Delete account invitation

Tool: `veryfront__delete_account_invitation`

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

## Arguments

| Name            | Type          | Required | Description                                                                                                                                                                                                                                                                                |
| --------------- | ------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `account_id`    | string · uuid | Yes      | Account ID.                                                                                                                                                                                                                                                                                |
| `invitation_id` | string · uuid | 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 too; an accepted invitation is a conflict (remove the membership instead). |
| `confirm`       | boolean       | Yes      | Must be true to revoke the invitation.                                                                                                                                                                                                                                                     |

## Responses

| Status | Description                                           |
| ------ | ----------------------------------------------------- |
| 200    | The tool ran; its output is result.structuredContent. |

## Call it

```bash
curl -X POST -N "https://api.veryfront.com/mcp" \
  -H "Authorization: Bearer $VERYFRONT_API_KEY" \
  -H "Accept: application/json, text/event-stream" \
  -H "Content-Type: application/json" \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__delete_account_invitation",
    "arguments": {
      "account_id": "00000000-0000-0000-0000-000000000000",
      "invitation_id": "00000000-0000-0000-0000-000000000000",
      "confirm": false
    }
  }
}'
```

## Example response

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\"ok\":true}"
      }
    ],
    "structuredContent": {
      "ok": true
    }
  }
}
```
