API referenceExposed ports
Close a timed expose
POST
Closes a timed expose now. Open connections are cut.
Needs exposures.edit on the service (a grant on its project covers it). Available to MCP clients and the assistant.
cookie
seylo_session<token>application/json- body
serviceId*stringPanel-issued id.
Match
^[a-z0-9]{16}$exposureId*stringPanel-issued id.
Match
^[a-z0-9]{16}$Success.
application/json- response
curl -X POST 'https://example.com/api/v1/exposures.close' \ -H 'Content-Type: application/json' \ -d '{ "serviceId": "string", "exposureId": "string"}'Example Response
{}Save a project's shared variables POST
Replaces the project's shared variables (.env text). Shared variables cannot reference services. Services that use them get the new values on their next deploy or restart. Needs `env.edit` on the project. Available to MCP clients and the assistant.
Extend a timed expose POST
Moves a timed expose's end to durationMinutes from now (at most 24 hours). Needs `exposures.edit` on the service (a grant on its project covers it). Available to MCP clients and the assistant.