﻿---
title: cloud orgs add-role-mappings-individually cli command
description: Adds role mapping Behaviour flags: --dry-run — validate all inputs and exit without performing any action 
url: https://docs-v3-preview.elastic.dev/elastic/cli/tree/main/cli/cloud/orgs/add-role-mappings-individually
---

# cloud orgs add-role-mappings-individually cli command
<cli-modifiers>
</cli-modifiers>

```bash
elastic cloud orgs add-role-mappings-individually \
  --organization-id <organization-id> \
  --mappings <mappings> \
  [options]
```

Adds role mapping
**Behaviour flags:**
`--dry-run` — validate all inputs and exit without performing any action

## Options

<definitions>
  <definition term="--organization-id string required">
    Identifier for the Organization
  </definition>
  <definition term="--mappings string[] required">
    **Repeatable:** pass `--mappings` multiple times to supply more than one value
  </definition>
  <definition term="--input-file string">
    path to a JSON file to use as command input
  </definition>
  <definition term="--dry-run">
    validate all inputs and exit without performing any action (preview changes without applying them)
  </definition>
  <definition term="--yes">
    confirm destructive action without prompting
  </definition>
</definitions>


## Global Options

<definitions>
  <definition term="--json">
    output as JSON
  </definition>
</definitions>