Force the activation, even if there are collaborators editing some records.
import { buildClient } from '@datocms/cma-client-node';async function run() {const client = buildClient({ apiToken: '<YOUR_API_TOKEN>' });const maintenanceMode = await client.maintenanceMode.activate({force: true});console.log(maintenanceMode);}run();
{id: 'maintenance_mode',active: false}