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

orl authz policy update

Update, enable or disable a policy (needs `orl auth login`), part of the orl CLI for OpenRelay GPU VMs, pods, batches and billing.

orl authz policy update <policy-id>

Changes a policy's name, description, networks, models, endpoints, Cedar text or enabled state, and returns it. Fields left out keep their values. Requires a signed-in session and the permission creating the policy needs.

Flags

FlagTypeRequired
--cedar-textstringno
--descriptionstringno
--enabledboolno
--endpoints[]stringno
--ip-ranges[]stringno
--models[]stringno
--namestringno
--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 updatePolicy API operation.

On this page