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": "54b28eb7-39c4-4160-8926-d2446ca94c82",
    "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": "Rerum harum et voluptatem.",
      "shown": [
        "web_new_incident_form",
        "web_update_incident_form"
      ],
      "required": [],
      "default_values": [],
      "show_on_incident_details": false,
      "enabled": true,
      "updated_at": "2025-12-16T23:51:41.862-08:00",
      "created_at": "2025-12-16T23:51:39.309-08:00"
    },
    "relationships": {
      "options": {
        "data": [
          {
            "id": "5eb58ddf-fe9b-4837-8ae7-46a0e61063e2",
            "type": "form_field_options"
          },
          {
            "id": "c90fb0c9-23c0-4581-978d-597b8c30cc73",
            "type": "form_field_options"
          }
        ]
      },
      "positions": {
        "data": [
          {
            "id": "53f4926b-e3db-4cc6-a1bf-6c6c7e276f7d",
            "type": "form_field_positions"
          },
          {
            "id": "858e3ded-ebd6-4783-a523-8c20425dc932",
            "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