A SAML Connection holds configuration data required for facilitating a SAML SSO flow between your Clerk Instance (SP) and a particular SAML IdP.
Returns the list of SAML Connections for an instance.
Results can be paginated using the optional limit
and offset
query parameters.
The SAML Connections are ordered by descending creation date and the most recent will be returned first.
A list of SAML Connections
Payment required
Authorization invalid
Invalid request parameters
{- "data": [
- {
- "object": "saml_connection",
- "id": "string",
- "name": "string",
- "domain": "string",
- "idp_entity_id": "string",
- "idp_sso_url": "string",
- "idp_certificate": "string",
- "idp_metadata_url": "string",
- "idp_metadata": "string",
- "acs_url": "string",
- "sp_entity_id": "string",
- "sp_metadata_url": "string",
- "attribute_mapping": {
- "user_id": "string",
- "email_address": "string",
- "first_name": "string",
- "last_name": "string"
}, - "active": true,
- "provider": "string",
- "user_count": 0,
- "sync_user_attributes": true,
- "allow_subdomains": true,
- "allow_idp_initiated": true,
- "disable_additional_identifications": true,
- "created_at": 0,
- "updated_at": 0
}
], - "total_count": 0
}
Create a new SAML Connection.
A SAML Connection
Payment required
Authorization invalid
Invalid request parameters
{- "name": "string",
- "domain": "string",
- "provider": "saml_custom",
- "idp_entity_id": "string",
- "idp_sso_url": "string",
- "idp_certificate": "string",
- "idp_metadata_url": "string",
- "idp_metadata": "string",
- "attribute_mapping": {
- "user_id": "string",
- "email_address": "string",
- "first_name": "string",
- "last_name": "string"
}
}
{- "object": "saml_connection",
- "id": "string",
- "name": "string",
- "domain": "string",
- "idp_entity_id": "string",
- "idp_sso_url": "string",
- "idp_certificate": "string",
- "idp_metadata_url": "string",
- "idp_metadata": "string",
- "acs_url": "string",
- "sp_entity_id": "string",
- "sp_metadata_url": "string",
- "attribute_mapping": {
- "user_id": "string",
- "email_address": "string",
- "first_name": "string",
- "last_name": "string"
}, - "active": true,
- "provider": "string",
- "user_count": 0,
- "sync_user_attributes": true,
- "allow_subdomains": true,
- "allow_idp_initiated": true,
- "disable_additional_identifications": true,
- "created_at": 0,
- "updated_at": 0
}
Fetches the SAML Connection whose ID matches the provided saml_connection_id
in the path.
A SAML Connection
Payment required
Authorization invalid
Resource not found
{- "object": "saml_connection",
- "id": "string",
- "name": "string",
- "domain": "string",
- "idp_entity_id": "string",
- "idp_sso_url": "string",
- "idp_certificate": "string",
- "idp_metadata_url": "string",
- "idp_metadata": "string",
- "acs_url": "string",
- "sp_entity_id": "string",
- "sp_metadata_url": "string",
- "attribute_mapping": {
- "user_id": "string",
- "email_address": "string",
- "first_name": "string",
- "last_name": "string"
}, - "active": true,
- "provider": "string",
- "user_count": 0,
- "sync_user_attributes": true,
- "allow_subdomains": true,
- "allow_idp_initiated": true,
- "disable_additional_identifications": true,
- "created_at": 0,
- "updated_at": 0
}
Updates the SAML Connection whose ID matches the provided id
in the path.
A SAML Connection
Payment required
Authorization invalid
Resource not found
Invalid request parameters
{- "name": "string",
- "domain": "string",
- "idp_entity_id": "string",
- "idp_sso_url": "string",
- "idp_certificate": "string",
- "idp_metadata_url": "string",
- "idp_metadata": "string",
- "attribute_mapping": {
- "user_id": "string",
- "email_address": "string",
- "first_name": "string",
- "last_name": "string"
}, - "active": true,
- "sync_user_attributes": true,
- "allow_subdomains": true,
- "allow_idp_initiated": true,
- "disable_additional_identifications": true
}
{- "object": "saml_connection",
- "id": "string",
- "name": "string",
- "domain": "string",
- "idp_entity_id": "string",
- "idp_sso_url": "string",
- "idp_certificate": "string",
- "idp_metadata_url": "string",
- "idp_metadata": "string",
- "acs_url": "string",
- "sp_entity_id": "string",
- "sp_metadata_url": "string",
- "attribute_mapping": {
- "user_id": "string",
- "email_address": "string",
- "first_name": "string",
- "last_name": "string"
}, - "active": true,
- "provider": "string",
- "user_count": 0,
- "sync_user_attributes": true,
- "allow_subdomains": true,
- "allow_idp_initiated": true,
- "disable_additional_identifications": true,
- "created_at": 0,
- "updated_at": 0
}
Deletes the SAML Connection whose ID matches the provided id
in the path.
Deleted Object
Payment required
Authorization invalid
Resource not found
{- "object": "string",
- "id": "string",
- "slug": "string",
- "deleted": true
}