Skip to main content
TasksVersion: v3

Delete Task

DEL/contacts/{contactId}/tasks/{taskId}

Removes the task's association with this contact; the task itself is kept. Pass deleteTask=true to delete the task entirely.

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your access token.

Scope:contacts.write
Auth methods:OAuthPrivate Integration
Token type:Sub-Account Token

Request​

Headers

Versionstringrequired

API Version. Send v3.

Available optionsv3
Example:v3

Path Parameters

contactIdstringrequired

Contact Id

Example:ve9EPM428h8vShlRW1KT
taskIdstringrequired

Task Id

Example:ocQHyuzHvysMo5N5VsXc

Query Parameters

deleteTaskboolean

When true, deletes the task entirely. When false or omitted, only removes the task's association with this contact and keeps the task.

Default:false
Example:true

Response

Successful response

succeededboolean

Whether the task was successfully deleted

Example:true
succededbooleandeprecated

Legacy misspelling of succeeded. Deprecated; use succeeded.

Example:true