v1

latestOpenAPI 3.1.0MIT2026-07-243952451019.0 KB
Forms::Fields::Option

Update Option

Update a option for a field

put/forms/fields/options/{id}

Path parameters

idstring required

Request body

Example request

{
  "forms_fields_option": {
    "forms_fields_option": {
      "label": "Example Option"
    }
  }
}

Response

OK

idinteger

Option ID

public_idstring nullable

Option public ID

field_idinteger

Field ID

labelstring

Label

sort_orderinteger nullable

Sort order

created_atstring date-time nullable

Added

updated_atstring date-time nullable

Updated

Example response

{
  "id": 27,
  "public_id": "gHOzhu",
  "field_id": 10,
  "label": "Test Label",
  "sort_order": 0,
  "created_at": "2025-01-01T00:00:00.000Z",
  "updated_at": "2025-01-01T00:00:00.000Z"
}