Sorry, no results found for "".

Show examples in:
Javascript HTTP
Endpoint info
Available examples

Content Management API > SSO Settings

Generate SSO token

Returns

Returns a resource object of type sso_token

Examples

import { buildClient } from "@datocms/cma-client-node";
async function run() {
const client = buildClient({ apiToken: process.env.DATOCMS_API_TOKEN });
const ssoSettings = await client.ssoSettings.generateToken();
// Check the 'Returned output' tab for the result ☝️
console.log(ssoSettings);
}
run();
{ id: "312", scim_api_token: "as3dasjh1234hj1" }