Choose your language:
    Generate SSO token
    Returns
    Returns a sso_token object.

    Examples

    Example code:
    const { SiteClient } = require('datocms-client');
    async function run() {
    const client = new SiteClient('YOUR-API-TOKEN');
    const ssoSettings = await client.ssoSettings.generateToken();
    console.log(ssoSettings);
    }
    run();
    Returned output:
    > node example.js
    {
    "id": "312",
    "scimApiToken": "as3dasjh1234hj1"
    }