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
deletecomponent
DELETE/rest/api/3/component/{id}
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).

Parameters

required

The ID of the component.

The ID of the component to replace the deleted component. If this value is null no replacement is made.

Configure credentials above to enable sending.

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

TypeScript

import jira from '@utdk/jira';

await jira.deletecomponent()