Skip to main content

Link a case to another case

POSThttps://api.eu1.coralogix.com/mgmt/openapi/5/cases/cases/v1/{case_id}/linked-cases

Establish a parent-child link between two cases. The caller specifies the relationship of the case identified by case_id relative to the target case.

Requires the following permissions:

  • case:Update

Authorizations

Authorizationstringheaderrequired
API key authentication

Request​

Path Parameters

    case_id# stringrequired

    Possible values: non-empty and <= 64 characters, Value must match regular expression ^([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|[A-Z]+-[0-9]+)$

    ID of the case to act on. Accepts either the case UUID or the readable identifier (e.g. CASE-123).

    Example: 3f166e9f-3c88-4af2-b52e-138f339dab3e

Body

application/json

Request to link a case to another case.

    linkAs#Linked case relationshiprequired

    Relationship of the case identified by case_id relative to the target case.

    Possible values: [LINKED_CASE_RELATIONSHIP_UNSPECIFIED, LINKED_CASE_RELATIONSHIP_PARENT, LINKED_CASE_RELATIONSHIP_CHILD]

    Example: LINKED_CASE_RELATIONSHIP_PARENT
    muteChild#booleanrequired

    When true, mute child notifications. If false, child notifications will be sent as usual.

    targetCaseId#stringrequired

    UUID of the case to link to.

    Possible values: >= 36 characters and <= 36 characters, Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

    Example: a1b2c3d4-e5f6-7890-abcd-ef1234567890

Response

application/json

Response containing the case after the link was established.

    The case after linking.