Project components

Delete component

Deletes a component.

This operation can be accessed anonymously.

Permissions required: Administer projects project permission for the project containing the component or Administer Jira global permission.

delete/rest/api/2/component/{id}

Request

  • Base URL: https://your-domain.atlassian.net
  • URL: https://your-domain.atlassian.net/rest/api/2/component/{id}
  • Auth: one of:
    • HTTP basic
    • OAuth 2 (authorization code, authorization URL https://auth.atlassian.com/authorize, token URL https://auth.atlassian.com/oauth/token, scopes: manage:jira-project)
    • none

Path parameters

idstring required

The ID of the component.

Query parameters

moveIssuesTostring

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

Response

Returned if the request is successful.

Changes

No recorded changes to this operation across all 26 revisions of this API.