You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe I'm overlooking but I don't find any way to delete a Container. I'd expect Container class to have destroy method, but I don't find any. How can I delete a Container (= remove the directory on the server that is associated with the container) ?
Activity
raymondfeng commentedon Jul 15, 2015
The backend has the following REST api to delete a container:
https://github.com/strongloop/loopback-component-storage/blob/master/lib/storage-service.js#L277-L283
It should be mapped to
DELETE /api/containers/<container>hideya commentedon Jul 15, 2015
Thanks, @raymondfeng. I see. I guess the SDK just haven't implemented the destroy method that is mapped to the REST API. I think it better be fixed.
[-]No method to delete a Container?[/-][+]Add a method to delete a Container?[/+]bajtos commentedon Sep 8, 2015
👍
I agree the destroy method should be added to the API.