Skip to main content
Docs

deleteSamlConnection()

Deletes a by its ID. Returns a object.

function deleteSamlConnection(samlConnectionId: string): Promise<DeletedObject>
  • Name
    samlConnectionId
    Type
    string
    Description

    The ID of the SAML connection to delete.

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.deleteSamlConnection(samlConnectionId)

Backend API (BAPI) endpoint

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

Feedback

What did you think of this content?

Last updated on