provider Plans PUT /rest/api/3/plans/plan/{planId}/trash
@utdk/jira /rest/api/3/plans/plan/{planId}/trash
Trash plan
Moves a plan to trash. **[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).
planId path required
The ID of the plan.
integer

Try it

Authentication
Configure credentials for The Jira Cloud platform REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

trashplan
PUT/rest/api/3/plans/plan/{planId}/trash
Moves a plan to trash. **[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).

Parameters

required

The ID of the plan.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import jira from '@utdk/jira';

await jira.trashplan()