sandboxes

Remove a sandbox's exposed port; the URL stops answering [rate class: sandbox_api_rps]

Close a sandbox's exposed port: the URL stops answering immediately. Returns {status: "removed", endpoint_id, sandbox, port}. The sandbox and the server inside it are untouched - only the public door closes - and expose_sandbox_port mints a fresh URL any time, so closing one you no longer need is the safe direction. Deleting the sandbox does this for you.

post/preview/sandboxes/{id}/unexpose

Request

  • Base URL: https://autoresearch.sfcompute.com
  • URL: https://autoresearch.sfcompute.com/preview/sandboxes/{id}/unexpose
  • Auth: HTTP bearer

Path parameters

idstring required

The sandbox holding the endpoint.

Query parameters

workspacestring

Act in this workspace (its slug). Omitted: the token's bound workspace, then the organization's default. Never ambient - there is no switch-workspace mutation on this door.

Request body

portinteger required

The exposed port to close.

Response

The capability's JSON result.

objectstring

The resource type, when the result is one resource.

Changes

No recorded changes to this operation across all 1 revision of this API.