Skip to content

Update a custom field

Request

Update a custom field's name or order.

Security
bearerAuth
Path
uuidstringrequired

Resource UUID.

Bodyapplication/jsonrequired
namestring
orderinteger
PUT
/leads/api/custom-fields/{uuid}
curl -i -X PUT \
  'https://leadgen.grinfi.io/leads/api/custom-fields/{uuid}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "string",
    "order": 0
  }'

Responses

Updated field.

Bodyapplication/json
uuidstring
team_idinteger
user_idinteger
namestring
Example:"Industry Vertical"
objectstring
Enum:"lead""company"
orderinteger
Response
{ "uuid": "string", "team_id": 0, "user_id": 0, "name": "Industry Vertical", "object": "lead", "order": 0 }