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
- 200
- 400
- 401
- 403
- 404
- 409
- 500
Custom field definition updated
Validation error ÔÇö the request body or a query parameter failed constraint validation. The response payload includes a errors array with field-level details.
Missing or invalid JWT (Bearer token).
Authenticated user is missing the EDITAR_CAMPOSPERSONALIZADOS permission
Custom field definition not found
Version conflict ÔÇö the resource was modified by another user since the version supplied in If-Match was issued.
Unexpected server error. Includes legacy WAR failures that are not classified as 502 / 503 / 504.