v1

latestOpenAPI 3.0.32026-07-26172157253.6 KB
Admin

Update Bucket

patch/api/storage/buckets/{bucketName}

Path parameters

bucketNamestring required

Request body

isPublicboolean

Whether the bucket should be publicly accessible

Example request

{
  "isPublic": true
}

Response

Bucket visibility updated successfully

messagestring
bucketstring
isPublicboolean

Example response

{
  "message": "Bucket visibility updated",
  "bucket": "avatars",
  "isPublic": true
}