Set the value of a checkbox element

curl https://mburger.cloud/api/blocks/<id>/sections
-X POST 
-H "Accept: application/json" 
-H "Content-Type: application/x-www-form-urlencoded"
-H "X-MBurger-Token: <token>" 
-H "X-MBurger-Version: 3"
-d 'elements[<locale>][checkbox]=<value>'

Value of

"elements[<locale>][checkbox]"

must be true or false for enabling or not the checkbox!

Last updated