EasypanelDocs

Create a service port

Adds an exposed port to an app or box service.

POST
/createPort

Adds an exposed port 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/createPort" \  -H "Content-Type: application/json" \  -d '{    "projectName": "string",    "serviceName": "string",    "values": {      "published": 0,      "target": 0    }  }'
null