Links

Delete Section

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
Request
Response
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"

URL Parameters

Name
Type
Required
Description
id
int
Yes
Section id.
When successful, a HTTP 200 and JSON like this is returned:
{
"status_code": 0
}
Last modified 2yr ago