PATCH
/
api
/
storage
/
buckets
/
{bucketName}
{
  "message": "Bucket visibility updated",
  "bucket": "avatars",
  "isPublic": true
}

Authorizations

x-api-key
string
header
required

Path Parameters

bucketName
string
required

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