Updates a specific alert event. Only alert events with kind ‘note’ (user-created notes) can be updated. System-generated events are immutable to maintain audit trail integrity.
curl --request PATCH \
--url https://api.rootly.com/v1/alert_events/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "alert_events",
"attributes": {
"details": "<string>",
"user_id": 123
}
}
}
'{
"data": {
"id": "<string>",
"type": "alert_events",
"attributes": {
"kind": "informational",
"action": "created",
"source": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"user_id": 123,
"details": "<string>"
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Update an alert event. Note: Only alert events with kind='note' can be updated. You cannot change the kind field.
Show child attributes
alert event updated
Show child attributes
Was this page helpful?
curl --request PATCH \
--url https://api.rootly.com/v1/alert_events/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "alert_events",
"attributes": {
"details": "<string>",
"user_id": 123
}
}
}
'{
"data": {
"id": "<string>",
"type": "alert_events",
"attributes": {
"kind": "informational",
"action": "created",
"source": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"user_id": 123,
"details": "<string>"
}
}
}