PUT
/
v1
/
alert_fields
/
{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": "e84b6c32-7e9a-4092-afcd-f8547de19bca",
    "type": "alert_fields",
    "attributes": {
      "slug": "alert-field-1",
      "name": "Updated Custom Field",
      "kind": "custom",
      "created_at": "2025-06-11T15:10:20.523-07:00",
      "updated_at": "2025-06-11T15:10:24.965-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

Response

200
application/vnd.api+json

alert field updated

The response is of type object.