cloud users add-role-assignments cli command
Auth required
elastic cloud users add-role-assignments --user-id <user-id>
Add Role Assignments
--user-idstringrequired- Identifier for the user; include realm name and id if required
--input-filestring- path to a JSON file to use as command input
--[no-]dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--[no-]json-
output as JSON