Skip to main content
PATCH
/
custom-fields
/
{uuid}
/
options
/
{optionId}
Update an option on a custom field
curl --request PATCH \
  --url https://api.journeybee.io/v1/custom-fields/{uuid}/options/{optionId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "label": "<string>"
}
'
{
  "id": 123,
  "label": "<string>"
}

Authorizations

Authorization
string
header
required

API key authentication. Use "Bearer <api_key>" or "Api-Key <api_key>".

Path Parameters

uuid
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
optionId
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991

Body

application/json
label
string
required
Minimum string length: 1

Response

200 - application/json

Default Response

id
number
required
label
string
required