WARNING: Jenkins X version 2.x is unmaintained. Do not use it.
Please refer to the v3 documentation for the latest supported version.
jx edit userroles
list of jx commands
jx edit userroles
Edits the roles associated with a User
Synopsis
Edits the Roles associated with a User
jx edit userroles [flags]
Examples
# Prompt the CLI to pick a User from the list then select which Roles to update for the user
jx edit userrole
# Update a user to a given set of roles
jx edit userrole --l mylogin -r foo -r bar
"
Options
-h, --help help for userroles
-l, --login string The user login name
-r, --role stringArray The roles to set on a user
Options inherited from parent commands
-b, --batch-mode Runs in batch mode without prompting for user input
--verbose Enables verbose output. The environment variable JX_LOG_LEVEL has precedence over this flag and allows setting the logging level to any value of: panic, fatal, error, warn, info, debug, trace
SEE ALSO
- jx edit - Edit a resource
Auto generated by spf13/cobra on 2-Sep-2020
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified September 2, 2020: updated jx commands & API docs from 2.1.138 (4fc0bedc90)