Create

Description

Link two cases together by creating a new case link.

Request

HTTP Method: POST

Parameter Description
id ID of the target case.
Path Parameter Description
case_id ID of the source case.

Sample request

curl -X POST \
  https://<<META.tenant.domain>>/api/v1/cases/<<case_id>>/linked_cases \
  -H 'content-type: application/json' \
  -H 'Authorization: Bearer <<CREDENTIAL.tines_api_key>>' \
  -d '{
        "id": "43"
      }'

Response

A successful request will return a JSON object of the source case with linked cases

Field description

Parameter Description
case_id The case ID.
name The case name.
linked_cases An array of cases linked to this case.

Sample response

{
  "case_id": 42,
  "name": "Suspicious login detected"
  "linked_cases": [
    {
      "case_id": 43,
      "name": "Suspicious login detected #2"
    }
  ]
}
Was this helpful?