---
title: "Create or update object store"
method: PUT
path: "/storage/obj/{bucket}"
tags: ["Object Store"]
---

# Create or update object store

`PUT /storage/obj/{bucket}`

Creates a new object store bucket if one does not exist or updates it otherwise

## Path parameters

- `bucket` string, required

## Request body

- UpdateObjectBucketRequest
  - `description` string — Updated description of the bucket
  - `max_bytes` integer — Updated maximum size of the bucket in bytes

## Response `200`

Bad Request

- SuccessMessage
  - `message` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/quivaworks/apis/quiva-ai-gateway-5.md) · [All operations](https://skmtc.net/quivaworks/apis/quiva-ai-gateway-5/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/quivaworks/quiva-ai-gateway-5/revisions/072de10ada5e/schema)
