Skip to main content
PUT
/
workspaces
/
{workspace}
/
contact-fields
/
{contact-field}
Update Contact Field
curl --request PUT \
  --url https://lancepilot.com/api/v3/workspaces/{workspace}/contact-fields/{contact-field} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>"
}'
{
  "status": 200,
  "message": "Resource updated successfully.",
  "data": {}
}

Authorizations

Authorization
string
header
required

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

Path Parameters

workspace
string<uuid>
required

ID of the workspace.

contact-field
integer
required

ID of the contact field.

Body

application/json
name
string
required

Unique name per workspace. Only lowercase letters and underscores allowed.

Maximum length: 255

Response

status
integer
required
Example:

200

message
string
required
Example:

"Resource updated successfully."

data
object
required

Updated resource data.