Documentation navigation

Buckets

Edit a bucket

PATCH/storage/buckets/{bucketName}

Edit bucket settings and attributes.

Parameters

UpdateBucketParams
bucketNamestring
Bucket name.
allowOverwrite?boolean
Whether uploading an existing object key is allowed to replace the object.
allowedMimeTypes?string[]
MIME types accepted by this bucket.
attributes?StorageAttributes
User-defined bucket metadata.
fileSizeLimit?number
Maximum direct object upload size in bytes.
public?boolean
Whether objects in this bucket are publicly accessible.
signedUrlExpirySeconds?number
Default signed URL expiry in seconds for this bucket.

Returns