API | Operation Description |
Deletes files. |
try {val deleteMediaResult: DeleteMediaResult? = smh.delete(Filenamename = "uploadBigMedia.jpg",Folder location, root directory is selected by defaultdir = Directory(),//Whether to permanently delete. If true, the data will not be placed in the recycle bin.permanent = false)//Recycle bin item ID. If the recycle bin is not enabled or permanent is true, it will be empty.val recycledItemId = deleteMediaResult?.recycledItemId} catch (e: Exception) {e.printStackTrace()}
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback