Skip to content
OpenRelay is in early access, and the /v1 API is stable. New capabilities ship in the changelog.
CLICommands

orl vms visibility set

Set a VM's endpoint visibility, part of the orl CLI for OpenRelay GPU VMs, pods, batches and billing. Usage, every flag and an example.

orl vms visibility set <id> --public

Makes a VM's HTTP endpoint public (no data-plane auth) or private (the org's API key required) and returns the VM; a running VM's route changes at once.

Flags

FlagTypeRequired
--publicboolyestrue = open endpoint (no data-plane auth); false = require an org API key
--bodystringnoa JSON object of request body fields, merged under any of this command's own flags that are also set, e.g. {"key":"value"}
--body-filestringnoread the --body JSON object from a file (- for stdin)

This wraps the setVmVisibility API operation.

On this page