v1

latestOpenAPI 3.0.02026-08-04109109370.6 KB
Tasks

Update a task

Update a task by id. <br><br> op is the operation to be performed, and path specifies what resource to patch. <br><br> Use the path tasks/0/links/assignee to update the assigned user, using their ID.

patch/tasks/{id}

Path parameters

idstring required

Ids are of the form 'n-tasks', where n is an integer.

Request body

op'add' | 'remove' | 'replace' | 'move' | 'copy'

The operation to perform

pathstring

The path to the attribute to patch. Can be used to update custom fields as well, such as using /leads/0/{customFieldName}

valuestring

The value to set, can be various types, please refer to our guide on JSON Patch for more information

Example request

[
  {
    "op": "add",
    "path": "/leads/0/links/accounts/337-accounts",
    "value": "337-accounts"
  }
]

Response

No Content