Choose your language:
    De-activate maintenance mode
    Returns
    Returns a maintenance_mode object.

    Examples

    Example code:
    const SiteClient = require('datocms-client').SiteClient;
    const client = new SiteClient('YOUR-API-TOKEN');
    client.maintenanceMode.deactivate()
    .then((maintenanceMode) => {
    console.log(maintenanceMode);
    })
    .catch((error) => {
    console.error(error);
    });
    Returned output:
    > node example.js
    {
    "id": "4235",
    "active": false
    }