Sorry, no results found for "".
Returns a resource object of type maintenance_mode
1import { buildClient } from "@datocms/cma-client-node";2 3async function run() {4 const client = buildClient({ apiToken: process.env.DATOCMS_API_TOKEN });5 6 const maintenanceMode = await client.maintenanceMode.deactivate();7 8 // Check the 'Returned output' tab for the result ☝️9 console.log(maintenanceMode);10}11 12run();
1{ id: "maintenance_mode", active: false }