James PRO icon

James PRO

Read and write data in James PRO

Task → Delete

AI-generated

Summary

Delete a James PRO task by its ID, sending a DELETE request to the task endpoint with a confirmation flag in the request body. Returns the response body by default, or the full response envelope if configured.

Inputs

  • ID or Name (required) — Task ID used in the request URL.
  • Confirm Delete — Whether to send {"confirm":true} in the request body; defaults to true.
  • Return Body Only — Defaults to true. When enabled, returns the response body if the response includes one; otherwise returns the full response.

Output shape

One or more n8n items containing the normalized James PRO response.

Array responses become one item per element. Object responses become one item; primitive responses are wrapped in { "value": ... }. With Continue On Fail enabled, errors are returned as items containing an error field.

Examples

Example 1: Delete a task and return the API response body

Provide the task ID, leave Confirm Delete enabled, and keep Return Body Only enabled.

Links

Discussion