Update a specific alert field by id
curl --request PUT \
--url https://api.rootly.com/v1/alert_fields/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "alert_fields",
"attributes": {
"name": "<string>"
}
}
}'
{
"data": {
"id": "81d1d114-2d69-4361-9a5a-aec36a28a69c",
"type": "alert_fields",
"attributes": {
"slug": "alert-field-1",
"name": "Updated Custom Field",
"kind": "custom",
"created_at": "2025-09-03T13:53:26.641-07:00",
"updated_at": "2025-09-03T13:53:30.099-07:00"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Resource UUID
alert field updated
The response is of type object
.
Was this page helpful?
curl --request PUT \
--url https://api.rootly.com/v1/alert_fields/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "alert_fields",
"attributes": {
"name": "<string>"
}
}
}'
{
"data": {
"id": "81d1d114-2d69-4361-9a5a-aec36a28a69c",
"type": "alert_fields",
"attributes": {
"slug": "alert-field-1",
"name": "Updated Custom Field",
"kind": "custom",
"created_at": "2025-09-03T13:53:26.641-07:00",
"updated_at": "2025-09-03T13:53:30.099-07:00"
}
}
}