概要

Delete goal

MCPdelete_goal
WRITE$0.00001 / call
Features

Archive a goal by name. Archived rather than destroyed, because a funnel step pointing at it would otherwise vanish — and a funnel that silently loses a step reports a BETTER conversion rate than the real one.

Input2
Authorizationheaderrequired
Your API key, for the REST call. Sent from your browser straight to the API — never to Docsbook, never stored.
workspace_idstring
Workspace ID (optional when MCP endpoint is auto-scoped). Numeric workspace id — OR the project as the user names it: 'owner/repo', the repo name alone, the site's display name, its docs URL or custom domain. Text is resolved server-side; an ambiguous name returns the candidates instead of guessing, so pass what the user said rather than calling list_workspaces first.
keystringrequired
The goal's name.
Output2
workspace_idnumber
archivedstring
The goal's key.
Example input
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "delete_goal",
    "arguments": {
      "key": "<key>"
    }
  }
}
Example output
{
  "workspace_id": 0,
  "archived": "<archived>"
}

更新日

このページは役に立ちましたか?