Anchor Browser icon

Anchor Browser

Interact with Anchor Browser API for browser automation and control

Task → Delete Task

AI-generated

Summary

Deletes a task by ID. Provide the task ID in the Task ID field; Base URL is optional and defaults to https://api.anchorbrowser.io. For each input item, the node sends a DELETE request to ${baseUrl}/v1/task/${taskId} using the Anchor Browser API credential. The API response is returned as the item's JSON output. If the request fails and Continue On Fail is enabled, the node outputs an item with error, code, and status fields; otherwise it throws.

Inputs

  • baseUrl — The base URL for the Anchor Browser API.
  • taskId (required) — The ID of the task to delete.

Output shape

json

Each input item produces one output item. Success: the API response JSON. Failure with Continue On Fail: { error, code, status }. Otherwise the node throws.

Examples

Example 1: Deleting a task by ID

Task ID is required; Base URL optional with default https://api.anchorbrowser.io. For each input item, sends DELETE to ${baseUrl}/v1/task/${taskId} using Anchor Browser API credential. Returns API response JSON. On failure with Continue On Fail enabled, returns {error, code, status}; otherwise throws.

Discussion