> ## 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 Organization Directories

Retrieve a list of directories in an organization that match the supplied parameters.

<Note>
  External Documentation

  To learn more, visit the [Atlassian Organizations documentation](https://developer.atlassian.com/cloud/admin/organization/rest/api-group-directory/#api-v2-orgs-orgid-directories-get).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter        | Description                                                                                                                                                                                                  |
  | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
  | Account ID       | The unique ID of the user account.<br /><br />Can be obtained by using the `List Organization Users` action.                                                                                                 |
  | Cursor           | A token used to specify a results page. This value can be obtained from the `links.next` property from a previous response.                                                                                  |
  | Directory IDs    | Select the directory IDs to filter by. Maximum of `10` directory IDs can be provided.<br /><br />**Note:** The requestor must have administrative permissions for all resources linked to these directories. |
  | Limit            | The maximum number of results to return per page. Maximum value is `100`.                                                                                                                                    |
  | Organization ID  | The unique ID of your organization.<br /><br />Can be obtained by using the `List Organizations` action.                                                                                                     |
  | Return All Pages | Automatically fetch all resources, page by page.                                                                                                                                                             |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter   | Description                                         |
  | ----------- | --------------------------------------------------- |
  | Search Term | Filter results by the value of the `name` property. |
</div>

## Example Output

```json theme={"dark"}
{
	"data": [
		{
			"directoryId": "12345678-1234-1234-1234-123456789012",
			"name": "Primary Directory",
			"icon": "https://icon1.example.com/icon1.png"
		},
		{
			"directoryId": "12345678-1234-1234-1234-123456789013",
			"name": "Secondary Directory",
			"icon": "https://icon2.example.com/icon2.png"
		}
	],
	"links": {
		"self": "ObSbZxpM1f1fzia2_GnuJw",
		"prev": "LIZFEbzCT2pCCkQhPIUgIQ",
		"next": "kloHX1ZQVasDAkx_P48NYQ"
	}
}
```

## Workflow Library Example

[List Organization Directories with Atlassian Organizations and Send Results Via Email](https://library.blinkops.com/workflows/list-organization-directories-with-atlassian-organizations-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-organization-directories-with-atlassian-organizations-and-send-results-via-email/canvas" />
</div>
