Docs

deleteSamlConnection()

Deletes a SamlConnection by its ID.

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

    The ID of the SAML connection to delete.

const samlConnectionId = 'samlc_123'

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

console.log(response)
/*
_DeletedObject {
  object: 'saml_connection',
  id: 'samlc_123',
  slug: null,
  deleted: true
}
*/

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 details.

Feedback

What did you think of this content?

Last updated on