Cancels a follow-up task on a prospect.
The task stops counting in nextTask and openTaskCount and can no longer be
completed; its row leaves the default activity timeline (include_archived=true still
returns it). Canceling a canceled task is harmless. A completed task is refused with 400 —
reopen it first. The task id is the task's id or its timeline id, looked up on this
prospect only; a task that is not on this prospect returns 404.
Path Parameters
- Type: stringproject
Id requiredProject ID
- Type: stringidrequired
Prospect ID
- Type: stringtask
Id requiredTask ID: the task's id or its timeline id
Responses
- 204
No Content
- application/problem+json
- application/problem+json
- application/problem+json
- application/problem+json
- application/problem+json
Request Example for post/api/v1/projects/{projectId}/prospects/{id}/tasks/{taskId}/cancel
curl 'https://app.propstreet.com/api/v1/projects/{projectId}/prospects/{id}/tasks/{taskId}/cancel' \
--request POST \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
No Body