Appearance
Permanently remove a comment from a work item. Records deletion activity for audit purposes.
issue_id
Issue ID
pk
Comment ID
project_id
Project ID
slug
Workspace slug
projects.work_items.comments:write
curl -X DELETE \ "https://api.plane.so/api/v1/workspaces/my-workspace/projects/550e8400-e29b-41d4-a716-446655440000/work-items/550e8400-e29b-41d4-a716-446655440001/comments/550e8400-e29b-41d4-a716-446655440000/" \ -H "X-API-Key: $PLANE_API_KEY" \ # Or use -H "Authorization: Bearer $PLANE_OAUTH_TOKEN" \
import requests response = requests.delete( "https://api.plane.so/api/v1/workspaces/my-workspace/projects/550e8400-e29b-41d4-a716-446655440000/work-items/550e8400-e29b-41d4-a716-446655440001/comments/550e8400-e29b-41d4-a716-446655440000/", headers={"X-API-Key": "your-api-key"} ) print(response.status_code)
const response = await fetch( "https://api.plane.so/api/v1/workspaces/my-workspace/projects/550e8400-e29b-41d4-a716-446655440000/work-items/550e8400-e29b-41d4-a716-446655440001/comments/550e8400-e29b-41d4-a716-446655440000/", { method: "DELETE", headers: { "X-API-Key": "your-api-key", }, } ); console.log(response.status);
No response body.
Delete a work item comment
Permanently remove a comment from a work item. Records deletion activity for audit purposes.
Path Parameters
issue_id:requiredstringIssue ID
pk:requiredstringComment ID
project_id:requiredstringProject ID
slug:requiredstringWorkspace slug
Scopes
projects.work_items.comments:writeNo response body.