Show examples in:
Activate improved GraphQL visibility control option

Returns

Returns a site resource object.

Examples

Example Basic example
import { buildClient } from '@datocms/cma-client-node';
async function run() {
const client = buildClient({ apiToken: '<YOUR_API_TOKEN>' });
const site = await client.site.activateImprovedGqlVisibilityControl();
console.log(site);
}
run();