ReferenceCLIAccess

nevia access set

Change a principal's role, name or description

nevia access set [FLAGS] <WHO>

Name and description apply to private-key principals only.

Arguments

  • <WHO> - Email or principal ID

Options

  • --role <ROLE> - New role (private keys cannot be admin)

    Choices: admin, editor, viewer

  • --project <PROJECT> - Give a login these projects, by id or name, instead of a workspace role (repeatable); sends the grants alone and drops a workspace role, the way access add --project scopes a new login. Admin is a workspace role only, so pass --role editor or --role viewer alongside

  • --name <NAME> - New name (private-key principals only)

  • --description <TEXT> - New description of a private-key principal (empty clears it)

  • -h, --help - Print help

On this page