Update a Driver Custom Field Definition
PUT/settings/drivers/custom-fields/:customFieldId
Rename a driver custom field or adjust its prefix, suffix or dropdown options, without losing the values already recorded against it on any driver. Only send the fields you actually want to change.
type and is_required cannot be changed once a field is created. Sending either with its current value is accepted, and sending a different value returns 422.
When a singleSelect or multiSelect option list is narrowed, any driver holding a value that is no longer an option has that value cleared.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 500
- 503
Successful operation
The request body is declared as JSON but cannot be parsed, or is not a JSON object or array. Nothing was processed.
Unauthorized access. Authentication is required.
Access is forbidden. The user does not have permission to access this resource, or the account is not currently active.
The requested resource was not found.
Validation failed for the input parameters.
Internal server error.
Service temporarily unavailable. The request did not complete and can be retried after the number of seconds in the Retry-After header, when one is sent.
Response Headers
Seconds to wait before retrying. Sent with db_busy and db_pool_timeout.