Portals (Accountants)Write
Delete Portal
delete_portalSoft-delete a portal. The portal disappears from the parent's view immediately; the client loses access; bank connections begin a 30-day cleanup cascade. Refuses (409) if the portal's banks are still referenced by parent-workspace feeds — detach those feeds first. Accountants only.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
workspaceId | string | required | Parent workspace ID — must be top-level (NOT a portal). Get from list_workspaces (entries WITHOUT a parentWorkspaceId). |
portalId | string | required | Portal ID to delete — get from list_portals |
Example call
The tool call an MCP client sends (required arguments shown with placeholder values).
{"tool": "delete_portal","arguments": {"workspaceId": "workspaceId_123","portalId": "portalId_123"}}
Use this tool in
Claude CodeClaude DesktopClaude CoworkChatGPTCursorWindsurfVS Code CopilotOpenClawGeminiHermes Agent