Skip to main content

Update custom field definition

PUT 

/api/v2/custom-field-definitions/:id

Full replacement of an existing definition. featureType and dataType are immutable (stored values keyed by the id would stop matching); renaming apiName/label is always safe. options is rejected here: manage options through the /options sub-resource. Send the If-Match header with the current ETag for optimistic concurrency control. For EAV-backed featureTypes pass the featureType query parameter (If-Match is ignored for them).

Request​

Responses​

Custom field definition updated