getConnectionGroups
abstract suspend fun getConnectionGroups(request: IB2BGetSCIMConnectionGroupsParameters): B2BGetSCIMConnectionGroupsResponse
Retrieves the groups associated with the organization's SCIM connection. Calls the POST /sdk/v1/b2b/scim/groups endpoint. Requires an active session.
Kotlin:
StytchB2B.scim.getConnectionGroups(
B2BGetSCIMConnectionGroupsParameters(limit = 100)
)Content copied to clipboard
iOS:
let params = B2BGetSCIMConnectionGroupsParameters(limit: 100)
let response = try await StytchB2B.scim.getConnectionGroups(params)Content copied to clipboard
React Native:
StytchB2B.scim.getConnectionGroups({ limit: 100 })Content copied to clipboard
Return
B2BGetSCIMConnectionGroupsResponse containing the SCIM groups.
Parameters
request
IB2BGetSCIMConnectionGroupsParameters
cursor?— Pagination cursor from a previous response.limit?— Maximum number of groups to return.
Throws
StytchError
if the request fails.
if the coroutine is cancelled.