---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../../modules.md) / [operations/orgs](../index.md) / listOrgs

# Function: listOrgs()

> **listOrgs**(`client`, `options?`): `Promise`\<[`OrganizationCollection`](../../../clients/interfaces/OrganizationCollection.md)\>

Defined in: [packages/b2c-tooling-sdk/src/operations/orgs/index.ts:96](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/operations/orgs/index.ts#L96)

Lists organizations with pagination.

## Parameters

### client

[`AccountManagerOrgsClient`](../../../clients/interfaces/AccountManagerOrgsClient.md)

Account Manager Organizations client

### options?

[`ListOrgsOptions`](../../../clients/interfaces/ListOrgsOptions.md)

List options (size, page, all)

## Returns

`Promise`\<[`OrganizationCollection`](../../../clients/interfaces/OrganizationCollection.md)\>

Organization collection
