Skip to main content
Docs

getSamlConnection()

Retrieves a by its ID.

function getSamlConnection(samlConnectionId: string): Promise<SamlConnection>
  • Name
    samlConnectionId
    Type
    string
    Description

    The ID of the SAML connection to retrieve.

Note

Importing clerkClient varies based on your framework. Refer to the for usage details, including guidance on .

const samlConnectionId = 'samlc_123'

const response = await clerkClient.samlConnections.getSamlConnection(samlConnectionId)

Backend API (BAPI) endpoint

This method in the SDK is a wrapper around the BAPI endpoint GET/saml_connections/{saml_connection_id}. See the BAPI reference for more information.

Feedback

What did you think of this content?

Last updated on