MBurger Headless CMS
User GuideCMS HeadlessEngagement Platform
Search
⌃K
Links
🍔
MBurger Documentation🍔
🔑
API
📱
Android SDK
🍏
iOS SDK
💻
PHP SDK
☕
JavaScript SDK
🔷
Flutter SDK
Installation
Initialization
Fetch the project
Fetch blocks
Fetch sections
Media
Admin
Add/Edit a section
Delete a section
Upload a media
Delete a media
Auth
❓
How to?
👻
Sample App
Powered By GitBook

Delete a media

You can delete a media (an image or a video), giving its id with the function.
The id of the media is the field id of the objects MBImage and MBFile.
await MBAdmin.shared.deleteMedia(mediaId);
Previous
Upload a media
Next
Auth
Last modified 2yr ago
Copy link