Explore documentation

Create a Catalog relation

Returns either a newly created Catalog relation, or validation errors.

POST https://uptime.betterstack.com/api/v2/catalog/relations

Headers

Authorization
required string
Content_Type
string

Body parameters

name
required string
*
201

Response body

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

Example cURL

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