> ## 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.

# List Account Groups By Safe

Get all account groups in a specific safe.

**Required Permissions for using this action**:

* `Add accounts`
* `Update account content`
* `Update account properties`
* `Create folders`

<Note>
  External Documentation

  To learn more, visit the [CyberArk documentation](https://docs.cyberark.com/pam-self-hosted/latest/en/content/webservices/getaccountgroupbysafe.htm).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter | Description                    |
  | --------- | ------------------------------ |
  | Safe Name | The name of the required safe. |
</div>

## Example Output

```json theme={"dark"}
{
	"GroupID": "<The group ID>",
	"GroupName": "<The group name>",
	"GroupPlatformID": "<The group platform ID>",
	"Safe": "<The group Safe name>"
}
```

## Workflow Library Example

[List Account Groups by Safe with Cyberark and Send Results Via Email](https://library.blinkops.com/workflows/list-account-groups-by-safe-with-cyberark-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/list-account-groups-by-safe-with-cyberark-and-send-results-via-email/canvas" />
</div>
