---
title: "Create a new store on the server."
method: POST
path: "/"
tags: ["stores"]
---

# Create a new store on the server.

`POST /`

## Request body

- StoreRequest
  - `StoreName` string, required — The name for the new store.
  - `PersistenceType` integer — The persistence type for the store. 0='AppendOnly', 1= 'Rewrite'

## Response `200`

Successful response

## Other responses

- `400` — Bad Request. Either the required StoreName parameter was not provided or the PersistenceType parameter is outside the allowed range of 0-1
- `409` — Conflict. This status code indicates that the server already has a store with the specified store name.

---

[API](https://skmtc.net/brightstardb/apis/brightstardb-rest-api.md) · [All operations](https://skmtc.net/brightstardb/apis/brightstardb-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/brightstardb/brightstardb-rest-api/versions/e94ef9356aa7/schema)
