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": "b7912d87-0846-4ae6-9797-e2f60005e7e8",
    "type": "form_fields",
    "attributes": {
      "team_id": 180,
      "slug": "test-update-custom-field",
      "kind": "custom",
      "input_kind": "text",
      "value_kind": "inherit",
      "value_kind_catalog_id": null,
      "name": "Test update custom field",
      "description": "Dicta atque quo assumenda.",
      "shown": [
        "web_new_incident_form",
        "web_update_incident_form"
      ],
      "required": [],
      "default_values": [],
      "show_on_incident_details": false,
      "enabled": true,
      "updated_at": "2025-12-12T07:59:32.442-08:00",
      "created_at": "2025-12-12T07:59:28.815-08:00"
    },
    "relationships": {
      "options": {
        "data": [
          {
            "id": "428317f3-7287-47fd-a792-823d7e62ac6d",
            "type": "form_field_options"
          },
          {
            "id": "a5fe70f0-0364-489a-bf20-8093a971c047",
            "type": "form_field_options"
          }
        ]
      },
      "positions": {
        "data": [
          {
            "id": "89413fdf-12ff-41a3-bce3-a51592cebe85",
            "type": "form_field_positions"
          },
          {
            "id": "cf04abf0-9192-44a9-9f03-0601c4ad23cc",
            "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