Remove a comment from a work item. On success the response is 204 No Content with an empty body — there is nothing to parse, so branch on the status code.
The delete is a soft delete: the comment stops appearing in every read, including lists and its own detail route, and a follow-up GET on the same id returns 404 resource_not_found.
Deleting a comment is not reversible through the API
There is no restore endpoint, so confirm with the user before deleting. Deleting the parent work item is the usual alternative when you want the whole thread to disappear at once.
{ "type": "https://api.plane.so/errors/resource_not_found", "title": "Resource Not Found", "status": 404, "code": "resource_not_found", "detail": "No comment matches the given query."}
Delete a comment
Remove a comment from a work item. On success the response is
204 No Contentwith an empty body — there is nothing to parse, so branch on the status code.The delete is a soft delete: the comment stops appearing in every read, including lists and its own detail route, and a follow-up
GETon the same id returns404 resource_not_found.Deleting a comment is not reversible through the API
There is no restore endpoint, so confirm with the user before deleting. Deleting the parent work item is the usual alternative when you want the whole thread to disappear at once.
Path Parameters
slug:requiredstringThe workspace slug. It appears in your Plane URLs — in
https://app.plane.so/my-team/projects/, the slug ismy-team.project_id:requiredstring (uuid)The project the work item belongs to.
work_item_id:requiredstring (uuid)The work item the comment is attached to.
pk:requiredstring (uuid)The comment to delete.
Scopes
projects.work_items.comments:writeErrors
401unauthorized403forbidden404resource_not_found409conflict429rate_limitedRetry-Afterheader before retrying.No response body.