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": "57f940c8-ebf2-4c77-a1ba-a9e4db898698",
    "type": "form_fields",
    "attributes": {
      "team_id": 131,
      "slug": "test-update-custom-field",
      "kind": "custom",
      "input_kind": "text",
      "value_kind": "inherit",
      "value_kind_catalog_id": null,
      "name": "Test update custom field",
      "description": "Id qui sit quaerat.",
      "shown": [
        "web_new_incident_form",
        "web_update_incident_form"
      ],
      "required": [],
      "default_values": [],
      "show_on_incident_details": false,
      "enabled": true,
      "updated_at": "2025-09-10T23:00:16.723-07:00",
      "created_at": "2025-09-10T23:00:13.738-07:00"
    },
    "relationships": {
      "options": {
        "data": [
          {
            "id": "cf9d546f-7a1f-4432-aea8-4c124ec34f24",
            "type": "form_field_options"
          },
          {
            "id": "b81a34e2-d6b7-4f4c-9a85-6a5539b4f11c",
            "type": "form_field_options"
          }
        ]
      },
      "positions": {
        "data": [
          {
            "id": "5d58db6a-58bb-4488-bc97-2bea4edbf309",
            "type": "form_field_positions"
          },
          {
            "id": "3c200e01-c019-474b-8801-54acdc63cb89",
            "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

Response

form_field updated

The response is of type object.