---
title: "重新初始化存储目录"
method: POST
path: "/api/v1/admin/storage/init"
tags: ["System"]
---

# 重新初始化存储目录

`POST /api/v1/admin/storage/init`

重新创建所有必要的存储目录

## Response `200`

success

- CommonResponse
  - `code` integer
  - `data` unknown
  - `msg` string

## Changes

- **2025-10-22** `dcdf027169a3` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/oneclickvirt/apis/oneclickvirt-api/changes/api/v1/admin/storage/init/post.md)

---

[API](https://skmtc.dev/oneclickvirt/apis/oneclickvirt-api.md) · [All operations](https://skmtc.dev/oneclickvirt/apis/oneclickvirt-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/oneclickvirt/oneclickvirt-api/revisions/dcdf027169a3/schema)
