Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/appwrite/mod.ts>Storage#createBucket

[READ-ONLY] Official Appwrite Deno SDK 🦕
Latest
method Storage.prototype.createBucket
Re-export
import { Storage } from "https://deno.land/x/appwrite@12.1.0/mod.ts";

Create bucket

Create a new storage bucket.

Parameters

bucketId: string
name: string
optional
permissions: string[]
optional
fileSecurity: boolean
optional
enabled: boolean
optional
maximumFileSize: number
optional
allowedFileExtensions: string[]
optional
compression: Compression
optional
encryption: boolean
optional
antivirus: boolean