Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Delete a project component

Delete a project component.

DELETE/api/2/component/{id}
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

or
AuthorizationBearer token · headerrequired

Personal Access Token — Administration > Profile > Personal Access Tokens

AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Path parameters
idstringrequired

The component to delete.

Query parameters
moveIssuesTostring

The new component applied to issues whose 'id' component will be deleted. If this value is null, then the 'id' component is simply removed from the related isues.

Responses
200

Returned if the component is successfully deleted.

204

Returned if the component is successfully deleted.

403

Returned if the currently authenticated user does not have permission to delete the component.

404

Returned if the component does not exist or the currently authenticated user does not have permission to view it.

Try it
Server
Authorization
Parameters
Request
curl -X DELETE 'http://jira.example.com/rest/api/2/component/string' \
  -H 'Authorization: Basic YOUR_CREDENTIALS'
Response
Returned if the component is successfully deleted.

Was this page helpful?