Delete Files from Storage
Learn to delete files in a Cloud Storage bucket.
We'll cover the following
After successfully uploading a file to a storage bucket, we may sometimes need to delete these files. The Firebase SDK provides the deleteObject
function to handle these cases. As a parameter, this function takes a reference to the file to be deleted. It returns a JavaScript promise that resolves successfully to delete the referenced file:
Get hands-on with 1400+ tech skills courses.