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-idstringrequired- Identifier for the user; include realm name and id if required
--platformstring[]-
Repeatable: pass
--platformmultiple times to supply more than one value --organizationstring[]-
Repeatable: pass
--organizationmultiple times to supply more than one value --deploymentstring[]-
Repeatable: pass
--deploymentmultiple times to supply more than one value --projectstring--input-filestring- 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)
--yes- confirm destructive action without prompting
--json-
output as JSON