Home > Forum > Plugins > RestAPI mode to admin

RestAPI mode to admin
0

Changing the RestAPI mode to "admin" should allow you to update fields, including readonly. The documentation however mentions the requirement of "admin permissions"
How to add requires admin permissions?.

Below are excerpts from the RestAPI documentation
mode -Enum: "standard" "ignoreReadonly" "admin"

Optional mode parameter that specifies validation behavior. When empty or standard, all fields will be validated. When set ignoreReadonly, readonly fields won't be set but no error will be returned. Admin value allows to edit readonly fields, but requires admin permissions.

Privacy overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognizing you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.


To see a full list of the cookies we use and learn more about their purposes, visit our Privacy Policy.