EasypanelDocs

Create a service mount

Adds a volume or bind mount to an app or box service.

POST
/createMount

Adds a volume or bind mount to an app or box service.

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/createMount" \  -H "Content-Type: application/json" \  -d '{    "projectName": "string",    "serviceName": "string",    "values": {      "hostPath": "string",      "mountPath": "string",      "type": "bind"    }  }'
null