Toggle menu

caseLinkDelete

Removes the link between two cases.

Namespace

goss.CaseManagement.v1.api.case.caseLinks.caseLinkDelete

Worker

serverlibrary

Parameters

Required PropertiesTypeDescription
caseBusinessKeyString <businessKey>The business key of the case
linkedCaseBusinessKeyString <businessKey>The business key of the linked case
userObjectDetails of the user
user.siteUserIdIntegerThe iCM site ID of the user
user.siteUserNameStringThe username of a valid case manager
Optional PropertiesTypeDescription
n/an/an/a

{
    "caseBusinessKey": "0123-4567-8901-2345",
    "linkedCaseBusinessKey": "5432-1098-7654-3210",
    "user": {
        "siteUserId": 1234,
        "siteUserName": "Abc"
    }
}

Rules

RuleValidation error
User must existCould not retrieve siteUser details
Case must existCase 1234-5678-9012-3456 does not exist
Linked case must existLinked case does not exist Case 1234-5678-9012-3456
A link must exist between the two casesLink not present from {0} to {1}
User must be the case managers group or the case manager if one is assignedUser 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