# veryfront__delete_account_member

Remove a member from the account, or leave it yourself; removing another member requires account.members.manage. Requires account.read; API keys also need delete scope.

Risk: mutating.

## Arguments

| Name         | Type    | Required | Description                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ------------ | ------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `account_id` | string  | Yes      | Account ID.                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| `user_id`    | string  | Yes      | Member to remove. Members may remove themselves. Removing another member requires account.members.manage. Removing another owner requires account ownership authority. The account must retain at least one owner. Removing an absent member returns 404. The member also loses access to every project in the account; projects they own pass to the longest-standing other account owner. Projects and financial history are not touched. |
| `confirm`    | boolean | Yes      | Must be true to remove the member.                                                                                                                                                                                                                                                                                                                                                                                                          |

## Call it

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__delete_account_member",
    "arguments": {
      "account_id": "<account_id>",
      "user_id": "<user_id>",
      "confirm": "<confirm>"
    }
  }
}
```
