getEnterpriseConnectionList()
Gets the list of enterprise connections for the instance. By default, the list is returned in descending order by creation date (newest first).
Returns a PaginatedResourceResponse object with a data property containing an array of EnterpriseConnection objects and a totalCount property containing the total number of enterprise connections for the instance.
function getEnterpriseConnectionList(params: EnterpriseConnectionListParams): Promise<PaginatedResourceResponse<EnterpriseConnection[]>>- Name
active?- Type
boolean- Description
Filters enterprise connections by active status. If
true, only active connections are returned. Iffalse, only inactive connections are returned. If omitted, all connections are returned.
- Name
organizationId?- Type
string- Description
Filters enterprise connections by Organization ID.
const response = await clerkClient.enterpriseConnections.getEnterpriseConnectionList()Backend API (BAPI) endpoint
This method in the SDK is a wrapper around the BAPI endpoint GET/enterprise_connections. See the BAPI reference for more information.
Feedback
Last updated on