Clear all Userfield Constraints

Last modified on September 8, 2023 at 5:24 pm


To clear all constraints from a userfield, you can send an HTTP PUT request to the userfield URL with a JSON object containing an empty object for the constraints property. This will clear all the existing constraints.

Note that you are not limited to updating one property at a time; all fields that are valid for a particular userfield type may be updated in a single request. All fields not specified will retain their value. See the Userfield Object Reference for a list of all the object’s fields.


This example shows the request-response sequence when clearing all constraints from a userfield.

PUT /dc/api/v5/userfields/8da97a97a92efd18dcbc12876a4510e HTTP/1.1
Content-type: application/json
Accept: application/json

	"constraints": {}
HTTP/1.1 204 No Content