Skip to main content
PUT
/
v1
/
form_fields
/
{id}
Update a Form Field
curl --request PUT \
  --url https://api.rootly.com/v1/form_fields/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "form_fields",
    "attributes": {
      "kind": "custom",
      "input_kind": "text",
      "value_kind": "inherit",
      "value_kind_catalog_id": "<string>",
      "name": "<string>",
      "description": "<string>",
      "shown": [
        "<string>"
      ],
      "required": [
        "<string>"
      ],
      "show_on_incident_details": true,
      "enabled": true,
      "default_values": [
        "<string>"
      ]
    }
  }
}'
{
  "data": {
    "id": "2c769b80-f4d6-4fa4-8550-8532c7eef343",
    "type": "form_fields",
    "attributes": {
      "team_id": 176,
      "slug": "test-update-custom-field",
      "kind": "custom",
      "input_kind": "text",
      "value_kind": "inherit",
      "value_kind_catalog_id": null,
      "name": "Test update custom field",
      "description": "Nisi libero vitae porro.",
      "shown": [
        "web_new_incident_form",
        "web_update_incident_form"
      ],
      "required": [],
      "default_values": [],
      "show_on_incident_details": false,
      "enabled": true,
      "updated_at": "2025-12-02T06:13:25.543-08:00",
      "created_at": "2025-12-02T06:13:21.432-08:00"
    },
    "relationships": {
      "options": {
        "data": [
          {
            "id": "ee182838-2511-488f-9644-43b793c64309",
            "type": "form_field_options"
          },
          {
            "id": "c9ff2f57-48bd-4e2f-a5d4-14f2daddcff3",
            "type": "form_field_options"
          }
        ]
      },
      "positions": {
        "data": [
          {
            "id": "26858e86-5d41-459c-ac44-f89de499233f",
            "type": "form_field_positions"
          },
          {
            "id": "e88b7fb1-d3d1-4b54-a8d8-cf654d18ead5",
            "type": "form_field_positions"
          }
        ]
      }
    }
  }
}

Authorizations

Authorization
string
header
required

Path Parameters

id
required

Body

application/vnd.api+json
data
object
required

Response

data
object
required