Show examples in:
Update SSO Settings

Body Parameters

idp_saml_metadata_url  Optional  null, string  Example: "https://my-org.oktapreview.com/app/XXXX/sso/saml/metadata"

URL of Identity Provider SAML Metadata endpoint

idp_saml_metadata_xml  Optional  null, string  Example: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>..."

Identity Provider SAML Metadata

default_role  Optional  { type: "role", id: role.id }

The default role assigned to SSO users that do not belong to any SSO group

Returns

Returns a sso_settings resource object.

Examples

Example Basic example
import { buildClient } from '@datocms/cma-client-node';
async function run() {
const client = buildClient({ apiToken: '<YOUR_API_TOKEN>' });
const ssoSettings = await client.ssoSettings.update({});
console.log(ssoSettings);
}
run();