Storage
delete()
Use nhost.storage.delete
to delete a file. To delete a file the user must have permissions to delete the file in the storage.files
table. Deleting the file using nhost.storage.delete()
will delete both the file and its metadata.
Parameters
params required StorageDeleteParams
Property | Type | Required | Notes |
---|---|---|---|
params.fileId | string | ✔️ |