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.

Did you know that with WEBCON you can automate virtually any process? Even baking cookies 🍪
 
Speaking of cookies: we use the ones that are essential for our website to function properly, as well as additional ones that help us customize our content to your preferences. If you don’t mind cookies, click Accept. If you want to learn more, explore settings.
Settings