Update picklist
This method allows you to update a specific picklist specified by the Id parameter.
The HTTP PATCH request method applies partial modifications to a resource. Click here to learn about using PATCH.
The MyPreferences API supports add, replace, remove, and test PATCH operations. The API does not support move and copy PATCH operations.In the JSON body of your request, send the op, path, and value parameters:
- op denotes the type of operation to execute such as add, replace, remove, or test.
- path denotes the path of the target location on the resource to update.
- value denotes the value to apply.
Header Parameters
Authorization token
Path Parameters
This is your organization’s MyPreferences Account Id. A 404 is returned if this value is invalid.
Id of the Picklist to update.
Body Parameters
Operation to be performed on the target object. Valid values are: add/remove/replace/test.
JSON pointer that references a location within the target document where the operation is performed.
JSON pointer to the location to copy or move.
Value to be added or replaced.
Response
Response Attributes
A read-only field that uniquely identifies the picklist.
Read-only system fields returned as part of an API response. These are updated automatically when a profile is created or modified.
Show child attributes
Name of the picklist.
Description of the picklist.
Status of the field select option 1(Active) or 0(Inactive).
Field select options defined for the picklist.