Skip to Content
Custom fields

Update Custom Enum

Acceso

Miembro de la organización con este permiso:

  • custom-fields:manage

Una clave API con scopes también necesita el permiso entre sus scopes.

PATCH
/orgs/{organizationId}/custom-fields/enums/{id}

Changes label, description and options. Options are matched by value; a value that is left out is removed.

Authorization

ApiKeyAuth
headerx-api-key<token>

API key for authentication

Path Parameters

organizationId*string

The ID or slug of the organization

id*string

Request Body

application/json
  1. body
label*string
Length1 <= length <= 120
description?string|null
options*array<>
Items1 <= items <= 200

Response Body

OK

application/json
  1. response
Example Request
curl -X PATCH 'https://api.tillor.eu/orgs//custom-fields/enums/string' \  -H 'Content-Type: application/json' \  -d '{  "label": "string",  "options": [    {      "value": "string",      "label": "string"    }  ]}'
Example Response
null