Update catalog relation

Update an existing Catalog relation.

PATCH https://incidents.betterstack.com/api/v2/catalog/relations/{relation_id}

URL parameters

relation_id
required string

Headers

Authorization
required string
Content-Type
string

Body parameters

name
required string
description
string
match_mode
string
200

Response body

{
  "data": {
    "id": "37",
    "type": "catalog_relation",
    "attributes": {
      "name": "Team",
      "description": "Catalog of organization teams",
      "match_mode": "any"
    }
  }
}

Example cURL

Example
curl -X "PATCH" "https://incidents.betterstack.com/api/v2/catalog/relations/37" \
     -H "Authorization: Bearer $TOKEN" \
     -H 'Content-Type: application/json; charset=utf-8' \
     -d $'{
  "name": "Test Again"
}'