Update a specific cause by 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": "874b31f4-9c4a-409a-9a3d-474dca47167d",
"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-07-25T22:35:11.198-07:00",
"updated_at": "2025-07-25T22:35:13.996-07:00"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
cause updated
The response is of type object
.
Was this page helpful?
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": "874b31f4-9c4a-409a-9a3d-474dca47167d",
"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-07-25T22:35:11.198-07:00",
"updated_at": "2025-07-25T22:35:13.996-07:00"
}
}
}