Planning
delete_view
Write grantDestructiveIdempotent
Delete a view that is not the default; make another view the default first. Returns deleted: true with the view's slug. Needs write access, and your person must be in the view's team or one of its project's teams, or be a workspace owner or admin.
Inputs
teamstringThe team the view belongs to, such as WEB. Give team or project, not both.
projectstringThe project the view belongs to, such as docs-launch. Give team or project, not both.
viewstringRequiredA view's slug, such as active.
tools/callJSON-RPC
{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "delete_view", "arguments": { "team": "WEB", "view": "docs-search" } }}POST/agent/v1/views:delete
curl -X POST https://api.qa.clankership.net/agent/v1/views:delete \ -H "Authorization: Bearer $CLANKER_AGENT_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "team": "WEB", "view": "docs-search" }'