provider Project versions DELETE /rest/api/3/version/{versionId}/relatedwork/{relatedWorkId}
@utdk/jira /rest/api/3/version/{versionId}/relatedwork/{relatedWorkId}
Delete related work
Deletes the given related work for the given version. This operation can be accessed anonymously. **[Permissions](#permissions) required:** *Resolve issues:* and *Edit issues* [Managing project permissions](https://confluence.atlassian.com/adminjiraserver/managing-project-permissions-938847145.html) for the project that contains the version.
versionId path required
The ID of the version that the target related work belongs to.
string
relatedWorkId path required
The ID of the related work to delete.
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.

deleterelatedwork
DELETE/rest/api/3/version/{versionId}/relatedwork/{relatedWorkId}
Deletes the given related work for the given version. This operation can be accessed anonymously. **[Permissions](#permissions) required:** *Resolve issues:* and *Edit issues* [Managing project permissions](https://confluence.atlassian.com/adminjiraserver/managing-project-permissions-938847145.html) for the project that contains the version.

Parameters

required

The ID of the version that the target related work belongs to.

required

The ID of the related work to delete.

Enter a gateway URL above to enable sending.

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

TypeScript

import jira from '@utdk/jira';

await jira.deleterelatedwork()