Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 1.65 KB

stackit_project_member_remove.md

File metadata and controls

47 lines (33 loc) · 1.65 KB

stackit project member remove

Removes a member from a project

Synopsis

Removes a member from a project. A member is a combination of a subject (user, service account or client) and a role. The subject is usually email address for users or name in case of clients

stackit project member remove SUBJECT [flags]

Examples

  Remove a member (user "[email protected]" with an "editor" role) from a project
  $ stackit project member remove [email protected] --project-id xxx --role editor

  Remove a member (user "[email protected]" with a "reader" role) from a project, along with all other roles of the subject that would stop the removal of the "reader" role
  $ stackit project member remove [email protected] --project-id xxx --role reader --force

Options

      --force[=true|false]   When true, removes other roles of the subject that would stop the removal of the requested role
  -h, --help[=true|false]    Help for "stackit project member remove"
      --role string          The role to be removed from the subject

Options inherited from parent commands

  -y, --assume-yes[=true|false]   If set, skips all confirmation prompts
      --async[=true|false]        If set, runs the command asynchronously
  -o, --output-format string      Output format, (one of: [json, pretty, none, yaml])
  -p, --project-id string         Project ID
      --region string             Target region for region-specific requests
      --verbosity string          Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")

SEE ALSO