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": "3ad82d58-5783-4b11-b927-7551dc57b3d6",
"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-05T07:40:10.396-07:00",
"updated_at": "2025-07-05T07:40:14.741-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": "3ad82d58-5783-4b11-b927-7551dc57b3d6",
"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-05T07:40:10.396-07:00",
"updated_at": "2025-07-05T07:40:14.741-07:00"
}
}
}