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 URLhttps://api.letsdeel.com/rest
- AuthHTTP 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.
Tasks Delete Contract Task Response200 required
data, Contracts Contract Id Tasks Task Id Delete Responses Content Application Json Schema Data required
Changes
No recorded changes to this operation across all 22 revisions of this API.