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. Your person's own views are theirs alone, whatever their role.
Inputs
teamstringThe team the view belongs to, such as WEB. Give one of team, project or mine.
projectstringThe project the view belongs to, such as docs-launch. Give one of team, project or mine.
minebooleanYour person's own views, the tabs of their My work, when true. Give one of team, project or mine.
Always
trueviewstringRequiredA 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/clanker/v1/views:delete
curl -X POST https://api.clankership.com/clanker/v1/views:delete \ -H "Authorization: Bearer $CLANKER_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "team": "WEB", "view": "docs-search" }'