PUT
/
v1
/
causes
/
{id}
curl --request PUT \
  --url https://api.rootly.com/v1/causes/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "causes",
    "attributes": {
      "name": "<string>",
      "description": "<string>",
      "position": 123
    }
  }
}'
{
  "data": {
    "id": "14bbaa5e-a484-49a6-9d5d-1b7d1d719ba2",
    "type": "causes",
    "attributes": {
      "slug": "how-to-handle-security-incident",
      "name": "How to handle security incident?",
      "description": "This is a description",
      "position": 2,
      "created_at": "2025-05-29T17:41:06.244-07:00",
      "updated_at": "2025-05-29T17:41:10.166-07:00"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/vnd.api+json

Response

200
application/vnd.api+json

cause updated

The response is of type object.