Last updated 3 years ago
How to delete a section.
Every deleted section by API will be stored in the trash. From MBurger web app is possible to restore the section or to delete it permanently.
Ensure to have delete permissions
DELETE https://mburger.cloud/api/sections/<id>
curl https://mburger.cloud/api/sections/<id> -X DELETE -H "Accept: application/json" -H "X-MBurger-Token: <token>" -H "X-MBurger-Version: 3"
When successful, a HTTP 200 and JSON like this is returned:
{ "status_code": 0 }
Name
Type
Required
Description
id
int
Yes
Section id.