New owner for resources previously owned by the deleted SSO user. This argument specifies the new owner type.
New owner for resources previously owned by the deleted SSO user. This argument specifies the new owner ID.
import { buildClient } from '@datocms/cma-client-node';async function run() { const client = buildClient({ apiToken: '<YOUR_API_TOKEN>' }); const userId = '312'; const ssoUser = await client.ssoUsers.destroy(userId); console.log(ssoUser);}run();