publ betaReference (MCP guide)
Open publ console

monitoring_account_apply

# monitoring_account_apply

Adds a member as a preview account or removes one, as the console preview account screen does; the plan limits how many can be added. Called without confirmToken it previews and returns a confirmToken; repeating the same input with it executes once.

## Inputs

| Field | Required here | Contract |
| --- | --- | --- |
| `action` | Yes | `add`, `remove` |
| `distinctId` | Yes | string; pattern `^\S{1,25}$` |
| `confirmToken` | No | string; pattern `^ct[a-f\d]{32}$`; The confirmToken from this tool's preview result. Omit it to preview; repeat the same input with it to execute. |