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
| Flag | Type | Required | |
|---|---|---|---|
--cedar-text | string | no | |
--description | string | no | |
--enabled | bool | no | |
--endpoints | []string | no | |
--ip-ranges | []string | no | |
--models | []string | no | |
--name | string | no | |
--body | string | no | a JSON object of request body fields, merged under any of this command's own flags that are also set, e.g. {"key":"value"} |
--body-file | string | no | read the --body JSON object from a file (- for stdin) |
This wraps the updatePolicy API operation.