cloud users remove-role-assignments cli command

Destructive Auth required
elastic cloud users remove-role-assignments --user-id <user-id> [options]
		

Remove Role Assignments

Behaviour flags:

--dry-run — validate all inputs and exit without performing any action

--user-id string required
Identifier for the user; include realm name and id if required
--platform string[]

Repeatable: pass --platform multiple times to supply more than one value

--organization string[]

Repeatable: pass --organization multiple times to supply more than one value

--deployment string[]

Repeatable: pass --deployment multiple times to supply more than one value

--project string
--input-file string
path to a JSON file to use as command input
--dry-run
validate all inputs and exit without performing any action (preview changes without applying them)
--no-validate
skip input validation and send the request as-is
--yes
confirm destructive action without prompting
--output-fields string
comma-separated list of fields to include in output (dot-notation supported)
--output-template string
Mustache-like template for custom text output (e.g. "{{id}}: {{name}}")
--json

output as JSON