Skip to content

Function: deleteRelatedWork() ​

ts
function deleteRelatedWork(
   client, 
   parameters, 
   options?
): Promise<void>;

Defined in: src/cloud/api/projectVersions.ts:414

Deletes the given related work for the given version.

This operation can be accessed anonymously.

Permissions required: Resolve issues: and Edit issues Managing project permissions for the project that contains the version.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ relatedWorkId: string; versionId: string; }-
parameters.relatedWorkIdstringThe ID of the related work to delete.
parameters.versionId?stringThe ID of the version that the target related work belongs to.
options?RequestOptions-

Returns ​

Promise<void>