---
title: "Delete comment"
method: DELETE
path: "/rest/api/3/issue/{issueIdOrKey}/comment/{id}"
tags: ["Issue comments"]
---

# Delete comment

`DELETE /rest/api/3/issue/{issueIdOrKey}/comment/{id}`

Deletes a comment.

**[Permissions](#permissions) required:**

 *  *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for the project that the issue containing the comment is in.
 *  If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is configured, issue-level security permission to view the issue.
 *  *Delete all comments*[ project permission](https://confluence.atlassian.com/x/yodKLg) to delete any comment or *Delete own comments* to delete comment created by the user,
 *  If the comment has visibility restrictions, the user belongs to the group or has the role visibility is restricted to.

## Path parameters

- `issueIdOrKey` string, required
- `id` string, required

## Response `204`

Returned if the request is successful.

## Other responses

- `400` — Returned if the user does not have permission to delete the comment.
- `401` — Returned if the authentication credentials are incorrect or missing.
- `404` — Returned if the issue or comment is not found or the user does not have permission to view the issue or comment.
- `405` — Returned if an anonymous call is made to the operation.

---

[API](https://skmtc.dev/atlassian/apis/the-jira-cloud-platform-rest-api-3.md) · [All operations](https://skmtc.dev/atlassian/apis/the-jira-cloud-platform-rest-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/atlassian/the-jira-cloud-platform-rest-api-3/revisions/7b92e6a64584/schema)
