Home > @hapoosjs/api-buckets > Buckets > deleteFile
Delete a file
Signature:
deleteFile(bucketName: string, filePath: string, versionId?: string): Promise<void>;
Parameter | Type | Description |
---|---|---|
bucketName | string | Bucket name |
filePath | string | File key or fully qualified name |
versionId | string | (Optional) Version to be deleted |
Returns:
Promise<void>