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
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { relatedWorkId: string; versionId: string; } | - |
parameters.relatedWorkId | string | The ID of the related work to delete. |
parameters.versionId? | string | The ID of the version that the target related work belongs to. |
options? | RequestOptions | - |
Returns
Promise<void>