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": "6f5422f8-ca2f-4c1d-a011-e007f02a9d44",
    "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-03-19T07:48:40.289-07:00",
      "updated_at": "2025-03-19T07:48:43.803-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
data
object
required

Response

200
application/vnd.api+json
cause updated
data
object
required