Skip to main content
PATCH
Update field

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

version
enum<string>
default:v2
required

The API version to use.

Available options:
v1,
v2
form
integer
required
field
integer
required

Body

application/json
name
string
key
string | null
type
string
cast
string | null
description
string | null

Supports HTML.

placeholder
string | null
default
string | null
help
string | null
required
boolean
rules
string | null
readonly
boolean
hidden
boolean
options
object[]
options_type
enum<string>
Available options:
array,
model
options_model
string

If the options type is a model, this is the resource that should populate the options field.

Response

OK

data
FieldResource · object