Skip to main content
POST
Get a link to your demo sandbox's desktop
Preview, OneCLI Cloud only. onecli demo open calls it. The link signs its holder in, so never share it. See Demo sandbox. A fresh link that opens the desktop of your own demo sandbox in a browser. It works for 10 minutes and is not stored: ask again for a new one. At most 10 a minute.
Availability: OneCLI Cloud only. A self-hosted deployment does not serve this endpoint and answers 404 with error.code: "not_found".Who can call: Any member of the organization, with a managing key (oc_key_...) that has the manage permission, or a signed-in session.

Authorizations

Authorization
string
header
required

A managing key (oc_key_...), an older API key (oc_...), or a signed-in session.

Headers

Idempotency-Key
string

Not accepted on this call. Sending it is 400 bad_request.

Required string length: 1 - 255

Response

The link.

expiresAt
string
required

ISO 8601. The link opens nothing after this. A desktop that is open already stays open.

url
string
required

Opens the sandbox's desktop in a browser, signed in already. Whoever has this link has the sandbox: do not log it or keep it. Open it within 10 minutes, and ask for a new one after that.