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

orl roles update

Update a custom role (needs `orl auth login`), part of the orl CLI for OpenRelay GPU VMs, pods, batches and billing.

orl roles update <role-id>

Changes a custom role's name, description, permissions, or its model, endpoint and network conditions, and returns it. Built-in roles cannot be changed. Requires a signed-in session. The same no-escalation rule as creation applies.

Flags

FlagTypeRequired
--descriptionstringno
--endpoints[]stringno
--ip-ranges[]stringno
--models[]stringno
--namestringno
--permissions[]stringno
--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 updateRole API operation.

On this page