ghl_project_delete_task_comment
Deletes a specific comment from a project task using task and comment IDs; only the comment author can remove it.
Instructions
PROJECT MANAGEMENT API — hierarchy is spaces -> folders -> lists -> tasks (+ comments, space statuses, recurring tasks). Task batch-get is RBAC-filtered (inaccessible ids are omitted, not errors) and omits embedded subtasks. position is an opaque server-assigned lexorank string; there is no public reorder endpoint. Recurring tasks use owners/contactIds and rruleOptions.intervalType (task create uses assignees/contactId). Task search supports updatedAt filtering/sorting for incremental sync. The docs do not describe what a delete cascades to — treat every delete as destructive.
Delete A Comment
Deletes a comment. Deleted comments do not appear in Get Task Comments. Response: { "success": true } (no id). 403 unless the caller is the comment author.
Endpoint: DELETE /projects/tasks/{taskId}/comments/{commentId} (Version header: v3; source: v3/projects-v3.json)
OAuth scopes: projects/tasks.comments.write
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | Task id | |
| commentId | Yes | Comment id | |
| locationId | No | Location id. Required for APP channel (`?locationId=`). Ignored for OAuth/PIT (token location is used). Do not send in path, body, or headers. |