Case Management
Create a case link
Creates a directional link between two cases (for example, case A blocks case B). The parent and child cases and their relationship type must be specified.
post/api/v2/cases/link
Request
- Base URLhttps://api.datadoghq.com
- URLhttps://api.datadoghq.com/api/v2/cases/link
- Auth
- API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
- or OAuth 2Authorization code: /oauth2/v1/authorizeToken URL: /oauth2/v1/token scopes: cases_write
Request body
Example request
{
"data": {
"attributes": {
"child_entity_id": "4417921d-0866-4a38-822c-6f2a0f65f77d",
"child_entity_type": "CASE",
"parent_entity_id": "bf0cbac6-4c16-4cfb-b6bf-ca5e0ec37a4f",
"parent_entity_type": "CASE",
"relationship": "BLOCKS"
},
"type": "link"
}
}Response
Created
Example response
{
"data": {
"attributes": {
"child_entity_id": "4417921d-0866-4a38-822c-6f2a0f65f77d",
"child_entity_type": "CASE",
"parent_entity_id": "bf0cbac6-4c16-4cfb-b6bf-ca5e0ec37a4f",
"parent_entity_type": "CASE",
"relationship": "BLOCKS"
},
"id": "804cd682-55f6-4541-ab00-b608b282ea7d",
"type": "link"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.