B2B Saas Authentication

/

Frontend SDKs

/

Headless

/

SCIM

/

Get SCIM Connection Groups

Get SCIM Connection Groups

The Get SCIM Connection Groups method wraps the Get SCIM Connection API endpoint. The organization_id will be automatically inferred from the logged-in Member's session.


Method parameters


limitint

cursorstring
import { useStytchB2BClient } from '@stytch/react/b2b';

export const CreateSCIMConnection = () => {
  const stytch = useStytchB2BClient();

  const getScimConnectionGroups = () => {
    stytch.scim.getConnectionGroups({
      limit: 50,
    });
  };

  return <button onClick={getScimConnectionGroups}>Get SCIM Connection Groups</button>;
};

RESPONSE

200
{
	"request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
	"status_code": 200,
    "connection": {
        "organization_id": "organization-test-07971b06-ac8b-4cdb-9c15-63b17e653931"
        "connection_id": "scim-connection-test-cdd5415a-c470-42be-8369-5c90cf7762dc"
        "status": "active",
        "display_name": "My SCIM Connection"
        "identity_provider": "okta"
        "base_url": "https://test.stytch.com/v1/b2b/scim/scim-connection-test-cdd5415a-c470-42be-8369-5c90cf7762dc"
        "bearer_token": "9LmcAfUxGGMSNzfROGY762wTD3A6DQsD3hmxbrAJaEjTsdko"
        "bearer_token_expires_at": "2029-03-20T21:28:28Z"
    },
}