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