---
ai:
  exclude: true
search:
  tags:
    - issue
    - PUT
seo:
  description: >-
    Archives an issue. Reference for the PUT /api/2/issue/{issueIdOrKey}/archive
    endpoint in the Jira Software Data Center REST API Reference.
sidebar:
  label: Archive an issue
  badge: PUT
title: Archive an issue
type: openapi-operation
---
Archives an issue.

`PUT /api/2/issue/{issueIdOrKey}/archive`

**Responses**

- `204` — Returns a response indicating the result of the archive operation.
- `401` — Returned if the user is not logged in.
- `403` — Returned if the currently authenticated user does not have permission to archive the issue or doesn't have DC license or issue is already archived.
- `404` — Returned if the issue does not exist.
