oc preview create <sandbox-id>
HTTP API →
Container port to expose
Custom domain
oc preview list <sandbox-id>
HTTP API →
Output columns: PORT, HOSTNAME, SSL, CREATED
oc preview delete <sandbox-id> <port>
HTTP API →
oc preview rotate-auth <sandbox-id>
HTTP API →
Mint a new bearer token for the sandbox’s preview URLs. The old token stops working immediately. The new plaintext is printed once — capture it before moving on; the server will not return it again.
--preview-auth installs a token and starts enforcing the gate from that point on.
See oc sandbox create --preview-auth to enable at create time, or --preview-auth-token to bring your own.