Function: deleteComponent()
ts
function deleteComponent(
client,
parameters,
options?
): Promise<void>;Defined in: src/cloud/api/projectComponents.ts:150
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.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { id: string; moveIssuesTo?: string; } | - |
parameters.id | string | The ID of the component. |
parameters.moveIssuesTo? | string | The ID of the component to replace the deleted component. If this value is null no replacement is made. |
options? | RequestOptions | - |
Returns
Promise<void>