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": "a13d81a3-8e4a-4961-a6ea-535b70564cf3",
    "type": "form_fields",
    "attributes": {
      "team_id": 131,
      "slug": "test-update-custom-field",
      "kind": "custom",
      "input_kind": "text",
      "value_kind": "inherit",
      "value_kind_catalog_id": null,
      "name": "Test update custom field",
      "description": "Nemo debitis molestias ab.",
      "shown": [
        "web_new_incident_form",
        "web_update_incident_form"
      ],
      "required": [],
      "default_values": [],
      "show_on_incident_details": false,
      "enabled": true,
      "updated_at": "2025-09-18T09:17:32.287-07:00",
      "created_at": "2025-09-18T09:17:28.930-07:00"
    },
    "relationships": {
      "options": {
        "data": [
          {
            "id": "d3d08627-caec-465c-bea0-e304634137e2",
            "type": "form_field_options"
          },
          {
            "id": "0370818e-9bcc-439f-92d9-0d973ee39320",
            "type": "form_field_options"
          }
        ]
      },
      "positions": {
        "data": [
          {
            "id": "98629372-b97b-42c5-b32c-4f771822a6ce",
            "type": "form_field_positions"
          },
          {
            "id": "04b49cc0-d848-49bb-9a21-d4fed4593f0e",
            "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