B2BDiscoveryOrganizationsClient

Organization discovery methods.

Functions

Link copied to clipboard
abstract suspend fun create(request: IB2BDiscoveryOrganizationsCreateParameters): B2BDiscoveryOrganizationsCreateResponse

Creates a new organization and immediately establishes a member session within it. Calls the POST /sdk/v1/b2b/discovery/organizations/create endpoint. Automatically includes the intermediate session token if one is present.

Link copied to clipboard
abstract suspend fun list(request: IB2BDiscoveryOrganizationsParameters): B2BDiscoveryOrganizationsResponse

Lists all organizations discoverable for the authenticated user. Calls the POST /sdk/v1/b2b/discovery/organizations endpoint. Automatically includes the intermediate session token if one is present.