---
title: "Create a new storage configuration"
method: POST
path: "/storage/configs"
tags: ["storage"]
---

# Create a new storage configuration

`POST /storage/configs`

## Request

- The document declares no server URL.
- Auth: none declared

## Request body

- ModelStorageConfig
  - `config` ModelStorageConfigMap
  - `created_at` string
  - `creator_id` integer: Standard fields
  - `description` string
  - `enabled` boolean
  - `id` integer
  - `is_primary` boolean
  - `name` string
  - `priority` integer
  - `type` 'local' | 's3' | 'minio' | 'oss' | 'cos' | 'azure' | 'obs' | 'oos'
  - `updated_at` string
  - `updater_id` integer

## Response `200`

OK

- ControllerHttpResponse
  - `code` integer
  - `data` unknown
  - `message` string

## Changes

- **2025-06-14** `228118d964f2`: 1 info
  - endpoint added
- **2025-03-02** `f6b1c099afda`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/veops/apis/veops-oneterm-api/changes/storage/configs/post.md)

---

[API](https://skmtc.dev/veops/apis/veops-oneterm-api.md) - [All operations](https://skmtc.dev/veops/apis/veops-oneterm-api/llms.txt) - [OpenAPI document](https://skmtc.dev/veops/apis/veops-oneterm-api/revisions/bd0569ff0157?raw)
