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": "12589d0c-6be3-4d86-a994-2a4b702bfba5",
    "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": "Minima voluptatem quaerat debitis.",
      "shown": [
        "web_new_incident_form",
        "web_update_incident_form"
      ],
      "required": [],
      "default_values": [],
      "show_on_incident_details": false,
      "enabled": true,
      "updated_at": "2025-12-21T12:07:46.392-08:00",
      "created_at": "2025-12-21T12:07:44.021-08:00"
    },
    "relationships": {
      "options": {
        "data": [
          {
            "id": "b17712d8-3a3e-40e9-962e-ebfa157d7bd3",
            "type": "form_field_options"
          },
          {
            "id": "fa1bb875-a375-469e-9e01-efd7739f7277",
            "type": "form_field_options"
          }
        ]
      },
      "positions": {
        "data": [
          {
            "id": "3016c09b-b8c8-471a-8257-66fca36cefda",
            "type": "form_field_positions"
          },
          {
            "id": "b9bf3b6f-aeef-4545-a8b9-11cede86f3dc",
            "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