cloud orgs update-role-mapping cli command
Destructive
Auth required
elastic cloud orgs update-role-mapping \
--organization-id <organization-id> \
--role-name <role-name> \
--mapping <mapping> \
[options]
Update role mapping
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--organization-idstringrequired- Identifier for the Organization
--role-namestringrequired- Role name
--mappingstringrequired--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