---
title: "Create a new storage bucket"
method: POST
path: "/projects/{id}/storage/buckets"
tags: ["Storage Buckets"]
---

# Create a new storage bucket

`POST /projects/{id}/storage/buckets`

## Request

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

## Path parameters

- `id` string, uuid, required

## Request body

- CreateStorageBucketRequest
  - `name` string, required: Bucket name (alphanumeric, dashes, underscores)
  - `file_size_limit` integer: Maximum file size in bytes
  - `allowed_mime_types` string[]: Allowed MIME types (e.g., ["image/png", "image/jpeg"])

## Response `201`

Bucket created

- 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

## Other responses

- `409`: Bucket already exists

## 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 `id`
  - added the new required request property `name`
  - the request's body type changed from no type to `object`
  - the response's body type changed from no type to `object` for status `201`
  - …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 `201`
  - removed the required property `id` from the response with the `201` status
  - removed the required property `name` from the response with the `201` status
  - …10 more

[Operation history](https://skmtc.dev/kong/apis/volcano-api/changes/projects/:id/storage/buckets/post.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)
