---
title: "安装中间件"
method: POST
path: "/api/cne/middleware/install"
tags: ["中间件"]
---

# 安装中间件

`POST /api/cne/middleware/install`

安装中间件

## Headers

- `Authorization` string
- `X-Auth-Token` string

## Request body

- ModelMiddleware
  - `name` string, required
  - `namespace` string
  - `type` string, required — 类型

## Response `201`

Created

- RouterResponse2xx
  - `data` unknown
  - `message` string
  - `pagination` unknown
  - `success` boolean

## Other responses

- `500` — Internal Server Error

---

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