B2B Saas Authentication

/

Frontend SDKs

/

Headless

/

SCIM

/

Delete SCIM Connection

Delete SCIM Connection

The Delete SCIM Connection method wraps the Delete SCIM Connection API endpoint. The organization_id will be automatically inferred from the logged-in Member's session. This method cannot be used to delete SCIM connections in other Organizations.


Method parameters


connection_id*string
import { useStytchB2BClient } from '@stytch/react/b2b';

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

  const deleteSCIMConnection = () => {
    stytch.scim.deleteConnection('scim-connection-test-cdd5415a-c470-42be-8369-5c90cf7762dc');
  };

  return <button onClick={deleteSCIMConnection}>Delete SCIM Connection</button>;
};

RESPONSE

200
{
	"request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
	"status_code": 200,
    "connection_id": "scim-connection-test-cdd5415a-c470-42be-8369-5c90cf7762dc",
}