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.
MBImage
MBFile
await MBAdmin.shared.deleteMedia(mediaId);
Last updated 4 years ago
Was this helpful?