TasksVersion: 2021-07-28
Delete A Task Or Subtask
DEL/projects/tasks/{taskId}
Deletes a task or subtask by id. Response: { "success": true, "id": "<taskId>" }. A second delete on the same id returns not found.
Authorizations
Authorizationstringheaderrequired
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
Scope:
projects/ tasks. writeAuth methods:
OAuthPrivate IntegrationToken type:
Sub-Account TokenRequest
Headers
Versionstringrequired
API Version
Available options
v3Example:
v3Path Parameters
taskIdstringrequired
Task id
Example:
6a102435124ecfb348bd5509Query Parameters
locationIdstring
Location id. Required for channel: APP. Ignored for OAuth/PIT — those use the location on the auth token. Do not send in path, body, or headers.
Example:
ve9EPM428h8b87FE9C12KgResponse
Deleted
successbooleanrequired
Always true when the HTTP status is 200. Allowed: true.
Available options
trueExample:
trueidstringrequired
Id of the deleted resource
Example:
6a102435124ecfb348bd5509