---
ai:
  exclude: true
search:
  tags:
    - issue
    - DELETE
seo:
  description: >-
    Deletes an issue. If the issue has… Reference for the DELETE
    /api/2/issue/{issueIdOrKey} endpoint in the Jira Software Data Center REST
    API Reference.
sidebar:
  label: Delete an issue
  badge: DELETE
title: Delete an issue
type: openapi-operation
---
Deletes an issue. If the issue has subtasks you must set the parameter deleteSubtasks=true to delete the issue. You cannot delete an issue without its subtasks also being deleted.

`DELETE /api/2/issue/{issueIdOrKey}`

**Responses**

- `204` — Returned if the issue was removed successfully.
- `400` — Returned if an error occurs.
- `401` — Returned if the calling user is not authenticated.
- `403` — Returned if the calling user does not have permission to delete the issue.
- `404` — Returned if the issue does not exist.
