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": "0fd34c14-5823-4579-b8e6-0f7d1aa68ff9",
    "type": "form_fields",
    "attributes": {
      "team_id": 203,
      "slug": "test-update-custom-field",
      "kind": "custom",
      "input_kind": "text",
      "value_kind": "inherit",
      "value_kind_catalog_id": null,
      "name": "Test update custom field",
      "description": "Voluptates debitis non sunt.",
      "shown": [
        "web_new_incident_form",
        "web_update_incident_form"
      ],
      "required": [],
      "default_values": [],
      "show_on_incident_details": false,
      "enabled": true,
      "updated_at": "2026-01-07T00:46:31.878-08:00",
      "created_at": "2026-01-07T00:46:29.307-08:00"
    },
    "relationships": {
      "options": {
        "data": [
          {
            "id": "c60ce1f2-dc80-470e-86a1-2d35a06b0793",
            "type": "form_field_options"
          },
          {
            "id": "cb8b167a-9d43-4789-ae56-1613a3ecf2c3",
            "type": "form_field_options"
          }
        ]
      },
      "positions": {
        "data": [
          {
            "id": "12494dfe-5d0f-4f34-b99a-3e63faaf5bbb",
            "type": "form_field_positions"
          },
          {
            "id": "3a325a37-5ada-4f0c-bbc5-730338218d05",
            "type": "form_field_positions"
          }
        ]
      }
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
required

Resource UUID

Body

application/vnd.api+json
data
object
required

Response

form_field updated

data
object
required