In case of soft delete moves file to trash folder. For hard delete completely deletes file’s metadata from pm database as well as from amazon storage
This API returns a JSON response indicating success or failure.