Expose a database
Turns TLS exposure on or off. On: the agent listens on a node port with the database's own TLS for a separate user, optionally limited to source CIDRs. The internal URL does not change. Fields left out keep their value.
Needs databases.expose on the service (a grant on its project covers it). Available to MCP clients and the assistant.
seylo_session<token>application/json- body
serviceId*stringPanel-issued id.
^[a-z0-9]{16}$enabled*booleanport?integer1024 <= value <= 65535allowedCidrs?array<>items <= 200tlsHostname?|nullSuccess.
application/json- response
serviceId*stringPanel-issued id.
^[a-z0-9]{16}$projectId*stringPanel-issued id.
^[a-z0-9]{16}$name*stringDNS-safe; the service's host name on the project network. Unique in its project.
^[a-z0-9]([a-z0-9-]*[a-z0-9])?$1 <= length <= 40engine*string|string|string|string|stringversion*stringnodeId*stringPanel-issued id.
^[a-z0-9]{16}$nodeName*stringinternal*exposure*webUi*createdAt*stringdate-timecurl -X POST 'https://example.com/api/v1/databases.setExposure' \ -H 'Content-Type: application/json' \ -d '{ "serviceId": "string", "enabled": true}'{ "serviceId": "string", "projectId": "string", "name": "string", "engine": "postgres", "version": "string", "nodeId": "string", "nodeName": "string", "internal": { "host": "string", "port": 1, "database": "string", "user": "string" }, "exposure": { "enabled": true, "host": "string", "port": 1024, "user": "string", "allowedCidrs": [ "string" ], "tlsHostname": "string", "certificate": "none", "certificateIssuer": "string", "certificateExpiresAt": "2019-08-24T14:15:22Z" }, "webUi": { "tool": "string", "idleMinutes": 1, "running": true, "lastActiveAt": "2019-08-24T14:15:22Z" }, "createdAt": "2019-08-24T14:15:22Z"}Reset a database password POST
Sets a new password for the admin user (internal) or the exposed user. Services that reference the password get it on their next deploy or restart; anything else using the old password stops connecting. Needs `databases.credentials` on the service (a grant on its project covers it). Available to MCP clients and the assistant, after a person approves the call.
Delete a deploy trigger URL POST
Deletes a service's deploy trigger URL; calls to it fail from now on. Needs `services.update` on the service (a grant on its project covers it). Available to MCP clients and the assistant, after a person approves the call.