Skip to Content
SeyloDocs
API referenceExposed ports

Close a timed expose

POST
/api/v1/exposures.close

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.

Authorization

cookieseylo_session<token>

Request Body

application/json
  1. body
serviceId*string

Panel-issued id.

Match^[a-z0-9]{16}$
exposureId*string

Panel-issued id.

Match^[a-z0-9]{16}$

Response Body

Success.

application/json
  1. response
Example Request
curl -X POST 'https://example.com/api/v1/exposures.close' \  -H 'Content-Type: application/json' \  -d '{  "serviceId": "string",  "exposureId": "string"}'
Example Response
{}