cloud orgs delete-organization-memberships cli command
Destructive
Auth required
elastic cloud orgs delete-organization-memberships \
--organization-id <organization-id> \
--user-ids <user-ids> \
[options]
Delete organization memberships
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--organization-idstringrequired- Identifier for the Organization
--user-idsstringrequired- CSV list of User identifiers
--force- Whether or not to force the removal of Org memberships (effective only for Platform Admins)
--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