Skip to content
View as Markdown
View as Markdown

@salesforce/b2c-tooling-sdk / operations/orgs / listOrgs

Function: listOrgs()

listOrgs(client, options?): Promise<OrganizationCollection>

Defined in: packages/b2c-tooling-sdk/src/operations/orgs/index.ts:102

Lists organizations with pagination.

Parameters

client

AccountManagerOrgsClient

Account Manager Organizations client

options?

ListOrgsOptions

Pagination options. Set all: true to retrieve all organizations using the max page size of 5000

Returns

Promise<OrganizationCollection>

Paginated organization collection with pagination metadata (totalElements, totalPages, number, size)

Released under the Apache-2.0 License.