---
title: "Delete a comment on a snippet"
method: DELETE
path: "/snippets/{workspace}/{encoded_id}/comments/{comment_id}"
tags: ["Snippets"]
---

# Delete a comment on a snippet

`DELETE /snippets/{workspace}/{encoded_id}/comments/{comment_id}`

Deletes a snippet comment.

Comments can only be removed by the comment author, snippet creator, or workspace admin.

## Response `204`

Indicates the comment was deleted successfully.

## Other responses

- `403` — If the authenticated user is not the author of the comment.
- `404` — If the comment or the snippet does not exist.

---

[API](https://skmtc.dev/bitbucket/apis/bitbucket-api.md) · [All operations](https://skmtc.dev/bitbucket/apis/bitbucket-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bitbucket/bitbucket-api/revisions/952ded611d03/schema)
