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>
1
curl https://mburger.cloud/api/sections/<id>
2
-X DELETE
3
-H "Accept: application/json"
4
-H "X-MBurger-Token: <token>"
5
-H "X-MBurger-Version: 3"
Copied!

URL Parameters

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