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": "87f386d2-f1d5-472c-8a9f-826dcaffdaea",
    "type": "form_fields",
    "attributes": {
      "team_id": 221,
      "slug": "test-update-custom-field",
      "kind": "custom",
      "input_kind": "text",
      "value_kind": "inherit",
      "value_kind_catalog_id": null,
      "name": "Test update custom field",
      "description": "Error maxime possimus qui.",
      "shown": [
        "web_new_incident_form",
        "web_update_incident_form"
      ],
      "required": [],
      "default_values": [],
      "show_on_incident_details": false,
      "enabled": true,
      "updated_at": "2026-01-30T15:01:15.213-08:00",
      "created_at": "2026-01-30T15:01:04.944-08:00"
    },
    "relationships": {
      "options": {
        "data": [
          {
            "id": "aac7ef4d-1c0f-4487-afea-15e45190bf66",
            "type": "form_field_options"
          },
          {
            "id": "5c85414e-1ab1-47e2-b49e-4cce42557b44",
            "type": "form_field_options"
          }
        ]
      },
      "positions": {
        "data": [
          {
            "id": "f6602130-e5da-4c61-9255-65b9e7ec8883",
            "type": "form_field_positions"
          },
          {
            "id": "59ae0742-e09b-4599-8bda-d32c6e54ec58",
            "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