EasypanelDocs

Create a proxy middleware

Creates a Traefik middleware and regenerates the proxy configuration.

POST
/createMiddleware

Creates a Traefik middleware and regenerates the proxy configuration.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/createMiddleware" \  -H "Content-Type: application/json" \  -d '{    "type": "addPrefix",    "name": "string"  }'
null