Tasks

Delete task

Removes a task from a contract when it should be dropped altogether rather than edited, and records an optional explanation with the removal. This removal cannot be undone through the API, so use it only when the task is not needed any more.

Token scopes: contracts:write

delete/contracts/{contract_id}/tasks/{task_id}

Request

  • Base URL
    https://api.letsdeel.com/rest
  • Auth
    HTTP bearer

Path parameters

contract_id, string required

The unique identifier of the Deel contract.

task_id, string required

The unique identifier of the task to be deleted.

Query parameters

reason, string

The reason for deleting the task. This can be used for auditing purposes.

Response

The task was successfully deleted.

TasksDeleteContractTaskResponse200 required
data, ContractsContractIdTasksTaskIdDeleteResponsesContentApplicationJsonSchemaData required

Changes

No recorded changes to this operation across all 22 revisions of this API.