Removes the link between two cases.
Namespace
goss.CaseManagement.v1.api.case.caseLinks.caseLinkDelete
Worker
serverlibrary
Parameters
| Required Properties | Type | Description |
|---|---|---|
| caseBusinessKey | String <businessKey> | The business key of the case |
| linkedCaseBusinessKey | String <businessKey> | The business key of the linked case |
| user | Object | Details of the user |
| user.siteUserId | Integer | The iCM site ID of the user |
| user.siteUserName | String | The username of a valid case manager |
| Optional Properties | Type | Description |
| n/a | n/a | n/a |
{
"caseBusinessKey": "0123-4567-8901-2345",
"linkedCaseBusinessKey": "5432-1098-7654-3210",
"user": {
"siteUserId": 1234,
"siteUserName": "Abc"
}
}
Rules
| Rule | Validation error |
|---|---|
| User must exist | Could not retrieve siteUser details |
| Case must exist | Case 1234-5678-9012-3456 does not exist |
| Linked case must exist | Linked case does not exist Case 1234-5678-9012-3456 |
| A link must exist between the two cases | Link not present from {0} to {1} |
| User must be the case managers group or the case manager if one is assigned | User aUser does not have permissions to remove a case link |
Behaviour
If the validation rules pass
- Removes the link between the case and the linked case
Last modified on 20 October 2026
