Show examples in:
    Retrieve maintenence mode

    Returns

    Returns a maintenance_mode resource object.

    Examples

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