Custom fields
Create Custom Enum
Toegang
Lid van de organisatie met dit recht:
custom-fields:manage
Een API-sleutel met scopes heeft het recht ook in zijn scopes nodig.
POST
Creates a reusable pick list. The key and the option values are immutable.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
application/json- body
key*stringMatch
^[a-z][A-Za-z0-9]{0,63}$label*stringLength
1 <= length <= 120description?string|nulloptions*array<>Items
1 <= items <= 200OK
application/json- response
curl -X POST 'https://api.tillor.eu/orgs//custom-fields/enums' \ -H 'Content-Type: application/json' \ -d '{ "key": "string", "label": "string", "options": [ { "value": "string", "label": "string" } ]}'Example Response
null