Skip to main content
PATCH
Update an existing field. Every field is optional — only sent fields change

Authorizations

Authorization
string
header
required

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

Path Parameters

project
string
required

The project slug

entity
string
required

The entity slug

field
string
required

The field ID

Body

application/json
name
string
Maximum string length: 255
type
enum<string>
Available options:
text,
multiline,
number,
boolean,
date,
enum,
reference,
currency,
phone,
email,
json
constraints
string[] | null
phi_flag
boolean | null
indexed
boolean

Build a database index on this field so Data API filters and sorts on it are index-served. Bounded types only, and a capped number per entity and per org — see EntityIndexPolicy.

position
integer | null
Required range: x >= 0

Response

data
any[]
required