> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Role

Update an existing role by adding or removing users, roles, and groups as members.

**Required Permissions**:

* `Role Management`

<Note>
  External Documentation

  To learn more, visit the [CyberArk - Idira Identity documentation](https://api-docs.cyberark.com/identity-docs-api/docs/roles-api#/Role%20Management/update-role).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter        | Description                                                                                                                                                 |
  | ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Groups To Add    | A comma-separated list of the names or unique IDs of the groups to add to the role.<br /><br />**For Example:** `c2c1698f_08f3_4c69_8774_6233c1996578`      |
  | Groups To Remove | A comma-separated list of the names or unique IDs of the groups to remove from the role.<br /><br />**For Example:** `c2c1698f_08f3_4c69_8774_6233c1996578` |
  | Role ID          | The unique ID of the role to update.<br /><br />**For Example:** `79d63967_9b6d_467b_9fc8_d5db6ce32012`                                                     |
  | Roles To Add     | A comma-separated list of the names or unique IDs of the roles to add to the role.<br /><br />**For Example:** `2bbe197f-ed05-496d-8e7a-1b918adebe38`       |
  | Roles To Remove  | A comma-separated list of the names or unique IDs of the roles to remove from the role.<br /><br />**For Example:** `2bbe197f-ed05-496d-8e7a-1b918adebe38`  |
  | Users To Add     | A comma-separated list of the names or unique IDs of the users to add to the role.<br /><br />**For Example:** `2bbe197f-ed05-496d-8e7a-1b918adebe38`       |
  | Users To Remove  | A comma-separated list of the names or unique IDs of the users to remove from the role.<br /><br />**For Example:** `2bbe197f-ed05-496d-8e7a-1b918adebe38`  |
</div>

## Example Output

```json theme={"dark"}
{
	"success": true,
	"IsSoftError": false
}
```

## Workflow Library Example

[Update Role with Cyberark   Idira Identity and Send Results Via Email](https://library.blinkops.com/workflows/update-role-with-cyberark---idira-identity-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/update-role-with-cyberark---idira-identity-and-send-results-via-email/canvas" />
</div>
