---
title: "Update storage bucket settings"
method: PATCH
path: "/projects/{id}/storage/buckets/{bucketName}"
tags: ["Storage Buckets"]
---

# Update storage bucket settings

`PATCH /projects/{id}/storage/buckets/{bucketName}`

## Request

- Base URL: `https://api.volcano.dev`
- URL: `https://api.volcano.dev/projects/{id}/storage/buckets/{bucketName}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

## Path parameters

- `id` string, uuid, required
- `bucketName` string, required

## Request body

- UpdateStorageBucketRequest
  - `file_size_limit` integer
  - `allowed_mime_types` string[]

## Response `200`

Bucket updated

- StorageBucket: A named container for files within a project. Public access is controlled at the file level via is_public on StorageObject.
  - `id` string, uuid, required
  - `project_id` string, uuid
  - `name` string, required: Bucket name (unique within project)
  - `file_size_limit` integer, nullable: Maximum file size in bytes (null for no limit)
  - `allowed_mime_types` string[], nullable: Allowed MIME types (null for all types)
  - `last_invoked_at` string, date-time: Most recent bucket operation timestamp
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Changes

- **2026-10-07** `23e7875e7c4c`: 1 info
  - the endpoint scheme security `ProjectAccessToken` was added to the API
- **2026-09-19** `3a6f365f3f35`: 4 breaking, 10 info
  - added the new path request parameter `bucketName`
  - added the new path request parameter `id`
  - the request's body type changed from no type to `object`
  - the response's body type changed from no type to `object` for status `200`
  - …10 more
- **2026-08-27** `bb44e98aba2e`: 4 breaking, 10 warning
  - the request's body type changed from `object` to no type
  - the response's body type changed from `object` to no type for status `200`
  - removed the required property `id` from the response with the `200` status
  - removed the required property `name` from the response with the `200` status
  - …10 more

[Operation history](https://skmtc.dev/kong/apis/volcano-api/changes/projects/:id/storage/buckets/:bucketName/patch.md)

---

[API](https://skmtc.dev/kong/apis/volcano-api.md) - [All operations](https://skmtc.dev/kong/apis/volcano-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/volcano-api/revisions/84c4488f91e9?raw)
