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": "7793e023-4d84-46f7-a0b5-6934a5c903cd",
    "type": "form_fields",
    "attributes": {
      "team_id": 218,
      "slug": "test-update-custom-field",
      "kind": "custom",
      "input_kind": "text",
      "value_kind": "inherit",
      "value_kind_catalog_id": null,
      "name": "Test update custom field",
      "description": "Sequi et aliquid ipsa.",
      "shown": [
        "web_new_incident_form",
        "web_update_incident_form"
      ],
      "required": [],
      "default_values": [],
      "show_on_incident_details": false,
      "enabled": true,
      "updated_at": "2026-01-14T01:02:18.958-08:00",
      "created_at": "2026-01-14T01:02:16.593-08:00"
    },
    "relationships": {
      "options": {
        "data": [
          {
            "id": "fc9d2710-6642-43f2-b070-aca9c19bd4ea",
            "type": "form_field_options"
          },
          {
            "id": "d03e3d62-af8f-4a46-9313-19fc7ddc57e0",
            "type": "form_field_options"
          }
        ]
      },
      "positions": {
        "data": [
          {
            "id": "692e543b-4cda-4145-b72f-cc34f8fe258b",
            "type": "form_field_positions"
          },
          {
            "id": "af6874a4-12c6-4197-a069-b2d6d01ea394",
            "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