---
title: "Trash plan"
method: PUT
path: "/rest/api/3/plans/plan/{planId}/trash"
tags: ["Plans"]
---

# Trash plan

`PUT /rest/api/3/plans/plan/{planId}/trash`

## Request

- Base URL: `https://your-domain.atlassian.net`
- URL: `https://your-domain.atlassian.net/rest/api/3/plans/plan/{planId}/trash`
- Auth: one of:
  - HTTP basic
  - OAuth 2
    - Authorization code: `https://auth.atlassian.com/authorize`
    - Token URL: `https://auth.atlassian.com/oauth/token` scopes: `write:jira-work`

Moves a plan to trash.

**[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).

## Path parameters

- `planId` integer, required

## Response `204`

Returned if the request is successful.

- unknown

## Other responses

- `401`: Returned if the user is not logged in.
- `403`: Returned if the site has no premium edition of Jira or if the user does not have the Administer Jira global permission.
- `404`: Returned if the plan is not found.
- `409`: Returned if the plan is not active.

---

[API](https://skmtc.dev/atlassian/apis/the-jira-cloud-platform-rest-api-2.md) - [All operations](https://skmtc.dev/atlassian/apis/the-jira-cloud-platform-rest-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/atlassian/apis/the-jira-cloud-platform-rest-api-2/revisions/f22db3da5feb?raw)
