Release comments are the discussion thread on a release. Delete a release comment. A successful delete returns 204 with an empty body.
204
slug
The workspace slug. It appears in your Plane URLs — in https://app.plane.so/my-team/projects/, the slug is my-team.
https://app.plane.so/my-team/projects/
my-team
release_id
The release the resource belongs to.
pk
The release comment id.
fields
Comma-separated list of fields to return. Unrequested keys are omitted, not returned as null. id always comes back. Pass all for every requestable field. An unknown name is a 400. See Sparse fields.
null
id
all
400
Requestable here: comment_html, comment_id, created_at, created_by_id, edited_at, id, is_hidden, is_resolved, parent_id, release_id.
comment_html
comment_id
created_at
created_by_id
edited_at
is_hidden
is_resolved
parent_id
releases.comments:write
invalid_request
401
unauthorized
402
payment_required
403
forbidden
404
not_found
406
not_acceptable
Accept
409
conflict
413
payload_too_large
415
unsupported_media_type
Content-Type
429
rate_limited
Retry-After
curl -X DELETE \ "https://api.plane.so/api/v2/workspaces/my-team/releases/9c1f0b3d-6d2e-4c9a-8b41-2f7e5a0d6c88/comments/8f4c2b1e-0d3a-4f7b-9c21-6e5a8b7d4f13/" \ -H "X-Api-Key: $PLANE_API_KEY"
import requests response = requests.delete( "https://api.plane.so/api/v2/workspaces/my-team/releases/9c1f0b3d-6d2e-4c9a-8b41-2f7e5a0d6c88/comments/8f4c2b1e-0d3a-4f7b-9c21-6e5a8b7d4f13/", headers={"X-Api-Key": "your-api-key"}, ) print(response.status_code)
const response = await fetch( "https://api.plane.so/api/v2/workspaces/my-team/releases/9c1f0b3d-6d2e-4c9a-8b41-2f7e5a0d6c88/comments/8f4c2b1e-0d3a-4f7b-9c21-6e5a8b7d4f13/", { method: "DELETE", headers: { "X-Api-Key": "your-api-key", }, }, ); console.log(response.status);
No response body.
{ "type": "not_found", "code": "not_found", "detail": "No release comment matches the given query." }
Delete a release comment
Release comments are the discussion thread on a release. Delete a release comment. A successful delete returns
204with an empty body.Path Parameters
slug:requiredstringThe workspace slug. It appears in your Plane URLs — in
https://app.plane.so/my-team/projects/, the slug ismy-team.release_id:requiredstring (uuid)The release the resource belongs to.
pk:requiredstring (uuid)The release comment id.
Response shaping
fields:optionalstringComma-separated list of fields to return. Unrequested keys are omitted, not returned as
null.idalways comes back. Passallfor every requestable field. An unknown name is a400. See Sparse fields.Requestable here:
comment_html,comment_id,created_at,created_by_id,edited_at,id,is_hidden,is_resolved,parent_id,release_id.Scopes
releases.comments:writeErrors
400invalid_request401unauthorized402payment_required403forbidden404not_found406not_acceptableAcceptheader asks for a representation the API can't produce.409conflict413payload_too_large415unsupported_media_typeContent-Typeisn't one this endpoint accepts.429rate_limitedRetry-Afterheader before retrying.No response body.