Node.js - bucket.file.delete()
Delete a file from a bucket.
import { bucket } from '@nitric/sdk'
const assets = bucket('assets').for('deleting')
const logo = assets.file('images/logo.png')
await logo.delete()
Examples
Delete a file
import { bucket } from '@nitric/sdk'
const assets = bucket('assets').for('deleting')
const logo = assets.file('images/logo.png')
await logo.delete()