EasypanelDocs

Expose PostgreSQL service

Publishes a PostgreSQL service on a host port.

POST
/exposePostgresService

Publishes a PostgreSQL service on a host port.

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/exposePostgresService" \  -H "Content-Type: application/json" \  -d '{    "projectName": "string",    "serviceName": "string",    "exposedPort": 0  }'
null