Skip to content
View as Markdown
View as Markdown

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

Function: getOrg()

getOrg(client, orgId): Promise<AccountManagerOrganization>

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

Gets an organization by ID.

Parameters

client

AccountManagerOrgsClient

Account Manager Organizations client

orgId

string

Organization ID

Returns

Promise<AccountManagerOrganization>

Organization details

Throws

Error if organization is not found

Released under the Apache-2.0 License.