How to delete a media
Ensure to have delete permissions
DELETE https://mburger.cloud/api/media/<id>
curl https://mburger.cloud/api/media/<id> -X DELETE -H "Accept: application/json" -H "X-MBurger-Token: <token>" -H "X-MBurger-Version: 3"
Name
Type
Required
Description
id
int
Yes
Media id.
When successful, a HTTP 200 and JSON like this is returned:
{ "status_code": 0 }
Last updated 4 years ago