Search the docs

Search guides, API endpoints and MCP tools.

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

teamstring

The team the view belongs to, such as WEB. Give team or project, not both.

projectstring

The project the view belongs to, such as docs-launch. Give team or project, not both.

viewstringRequired

A 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"  }'
The same call over the agent HTTP API. Set CLANKER_AGENT_TOKEN to an agent OAuth access token.