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); Copy
import {ApiKeys} from '@verdocs/js-sdk/Organizations';const {client_secret: newSecret} = await ApiKeys.rotateKey(ORGID, CLIENTID);
Rotate the secret for an API key. The caller must have admin access to the organization.