Skip to main content
PUT
/
databases
/
{databaseId}
/
tables
/
{tableId}
/
fields
/
{fieldId}
Update Table Field
curl --request PUT \
  --url https://tables-api.softr.io/api/v1/databases/{databaseId}/tables/{tableId}/fields/{fieldId} \
  --header 'Content-Type: application/json' \
  --header 'Softr-Api-Key: <api-key>' \
  --data '{
  "name": "<string>",
  "type": "<string>",
  "options": {}
}'
{
  "data": {
    "id": "<string>",
    "name": "<string>",
    "type": "SINGLE_LINE_TEXT",
    "options": {},
    "allowMultipleEntries": true,
    "readonly": true,
    "required": true,
    "locked": true,
    "defaultValue": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Softr-Api-Key
string
header
required

Path Parameters

databaseId
string
required
tableId
string
required
fieldId
string
required

Body

application/json
name
string
type
string
options
object

Response

The updated field.

data
object