• Rotate the secret for an API key. The caller must have admin access to the organization.

    import {ApiKeys} from '@verdocs/js-sdk/Organizations';

    const {client_secret: newSecret} = await ApiKeys.rotateKey(ORGID, CLIENTID);

    Parameters

    Returns Promise<IApiKeyWithSecret>