---
title: "创建模块标记文件"
method: PUT
path: "/modules/id/{mid}/status/{mark}"
tags: ["模块"]
---

# 创建模块标记文件

`PUT /modules/id/{mid}/status/{mark}`

## Path parameters

- `mid` string, required
- `mark` 'disable' | 'remove' | 'skip_mount', required

## Response `201`

标记文件已创建

## Other responses

- `204` — 标记文件已存在
- `403` — 鉴权失败，或 WebSocket 票证无效
- `404` — 模块不存在
- `500` — 后端执行操作失败

---

[API](https://skmtc.net/oom-wg/apis/shirosu-http.md) · [All operations](https://skmtc.net/oom-wg/apis/shirosu-http/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/oom-wg/shirosu-http/versions/3d63f1947f5a/schema)
