Support Topics Documentation Slack YouTube Blog

How can I remove an image from the files?

async deleteOrder(order){
var found = await Backendless.Data.of( “order” ).findById(;
return Backendless.Files.remove( “’”+"’");
map is a column in table “order” and it is a file reference contains a png file.
in this code we can’t remove the image cause returns: ‘’ as example.

Hello @Pick_App

In documentation - Deleting a File
Please, try delete image use <path>/<filename> -


When the client sends a request I don’t know the file name, it is stored in database, so in the table I have the path as a link and this surely doesn’t work.

The structure of the file URL is this:<application id>/<REST-API-key>/files/<path>/<file name>

You can parse out the necessary part from the URL and use it in the API call to delete the file.