@@ -346,6 +346,85 @@ Available flags for the command:
346346- ` --group-id ` , the id of the group to edit
347347- ` --role ` , the new Company role of the group
348348
349+ #### remove user
350+
351+ The ` company iam remove user ` subcommand allows you to remove a user from a company. Alternatively you can use the
352+ ` no-include-groups ` flag for only remove the role directly associated to a user, but leave intact its groups memberships.
353+
354+ Usage:
355+
356+ ``` sh
357+ miactl company iam remove user [flags]
358+ ```
359+
360+ Available flags for the command:
361+
362+ - ` --endpoint ` , to set the Console endpoint (default is ` https://console.cloud.mia-platform.eu ` )
363+ - ` --certificate-authority ` , to provide the path to a custom CA certificate
364+ - ` --insecure-skip-tls-verify ` , to disallow the check the validity of the certificate of the remote endpoint
365+ - ` --context ` , to specify a different context from the currently selected one
366+ - ` --company-id ` , to set the ID of the desired Company
367+ - ` --user-id ` , the id of the user to remove
368+ - ` --no-include-groups ` , set this flag for keeping the user memberhip, and only remove the role attached to the user
369+
370+ #### remove group
371+
372+ The ` company iam remove group ` subcommand allows you to remove a group and all its memberships from a company.
373+
374+ Usage:
375+
376+ ``` sh
377+ miactl company iam remove group [flags]
378+ ```
379+
380+ Available flags for the command:
381+
382+ - ` --endpoint ` , to set the Console endpoint (default is ` https://console.cloud.mia-platform.eu ` )
383+ - ` --certificate-authority ` , to provide the path to a custom CA certificate
384+ - ` --insecure-skip-tls-verify ` , to disallow the check the validity of the certificate of the remote endpoint
385+ - ` --context ` , to specify a different context from the currently selected one
386+ - ` --company-id ` , to set the ID of the desired Company
387+ - ` --group-id ` , the id of the group to remove
388+
389+ #### remove serviceaccount
390+
391+ The ` company iam remove serviceaccount ` subcommand allows you to removeo a service account in your Company.
392+
393+ Usage:
394+
395+ ``` sh
396+ miactl company iam remove serviceaccount [flags]
397+ ```
398+
399+ Available flags for the command:
400+
401+ - ` --endpoint ` , to set the Console endpoint (default is ` https://console.cloud.mia-platform.eu ` )
402+ - ` --certificate-authority ` , to provide the path to a custom CA certificate
403+ - ` --insecure-skip-tls-verify ` , to disallow the check the validity of the certificate of the remote endpoint
404+ - ` --context ` , to specify a different context from the currently selected one
405+ - ` --company-id ` , to set the ID of the desired Company
406+ - ` --service-account-id ` , the id of the service account to remove
407+
408+ #### remove group-member
409+
410+ The ` company iam remove group-member ` subcommand allows you to remove one or more users from a group in your Company.
411+
412+ Usage:
413+
414+ ``` sh
415+ miactl company iam remove group-member [flags]
416+ ```
417+
418+ Available flags for the command:
419+
420+ - ` --group-id ` , the group id where to remove the users
421+ - ` --user-id ` , the list of user ids to remove from the group
422+ - ` --endpoint ` , to set the Console endpoint (default is ` https://console.cloud.mia-platform.eu ` )
423+ - ` --certificate-authority ` , to provide the path to a custom CA certificate
424+ - ` --insecure-skip-tls-verify ` , to disallow the check the validity of the certificate of the remote endpoint
425+ - ` --context ` , to specify a different context from the currently selected one
426+ - ` --company-id ` , to set the ID of the desired Company
427+
349428## project
350429
351430This command allows you to manage ` miactl ` Projects.
0 commit comments