Skip to main content
PATCH
Update Bucket

Authorizations

x-api-key
string
header
required

Path Parameters

bucketName
string
required
Pattern: ^[a-zA-Z0-9_-]+$

Body

application/json
isPublic
boolean

Whether the bucket should be publicly accessible

Example:

true

Response

Bucket visibility updated successfully

message
string
Example:

"Bucket visibility updated"

bucket
string
Example:

"avatars"

isPublic
boolean
Example:

true