logo
Custom FieldsUpdate Custom Field

Update Custom Field

Update a custom field by UUID

curl -X PUT "https://app.nashra.ai/api/v1/fields/123e4567-e89b-12d3-a456-426614174000" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d '{
  "field_name": "Company Name",
  "data_name": "company_name",
  "type": "text",
  "is_required": true
}'
{
  "data": {
    "uuid": "9a3c2b6e-8f3a-4f7c-b1a4-1f1d5d9e4c22",
    "field_name": "Company",
    "data_name": "company",
    "type": "text",
    "is_required": false
  },
  "meta": {}
}
PUT
/fields/{uuid}
PUT
Bearer Token
Bearer Tokenstring
Required

API token generated in Settings > API Tokens

API token generated in Settings > API Tokens
Content-Typestring
Required

The media type of the request body

Options: application/json
typestring
Options: text, number, date, boolean
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. API token generated in Settings > API Tokens

Path Parameters

Body

application/json
typestring
Allowed values:textnumberdateboolean

Responses

dataobject
metaobject