provider Project components DELETE
/rest/api/3/component/{id} @utdk/jira
/rest/api/3/component/{id} Delete component
Deletes a component.
This operation can be accessed anonymously.
**[Permissions](#permissions) required:** *Administer projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for the project containing the component or *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).
- id path required
- The ID of the component.
- string
- moveIssuesTo query
- The ID of the component to replace the deleted component. If this value is null no replacement is made.
- string
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.
Code snippet
Updates live as you fill in the form above.
TypeScript
import jira from '@utdk/jira';
await jira.deletecomponent()