MongoDB · Schema

GroupMaintenanceWindow

Cloud DatabaseDatabaseDocument DatabaseNoSQLMongoDB

Properties

Name Type Description
autoDeferOnceEnabled boolean Flag that indicates whether MongoDB Cloud should defer all maintenance windows for one week after you enable them. This setting controls the same underlying auto-deferral feature as the `/maintenanceW
dayOfWeek integer One-based integer that represents the day of the week that the maintenance window starts. - `1`: Sunday. - `2`: Monday. - `3`: Tuesday. - `4`: Wednesday. - `5`: Thursday. - `6`: Friday. - `7`: Saturda
hourOfDay integer Zero-based integer that represents the hour of the of the day that the maintenance window starts according to a 24-hour clock. Use `0` for midnight and `12` for noon.
numberOfDeferrals integer Number of times the current maintenance event for this project has been deferred.
protectedHours object
startASAP boolean Flag that indicates whether MongoDB Cloud starts the maintenance window immediately upon receiving this request. To start the maintenance window immediately for your project, MongoDB Cloud must have m
timeZoneId string Identifier for the current time zone of the maintenance window. This can only be updated via the Project Settings UI.
View JSON Schema on GitHub

JSON Schema

mongodb-group-maintenance-window-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/mongodb/main/json-schema/mongodb-group-maintenance-window-schema.json",
  "title": "GroupMaintenanceWindow",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mongodb-maintenance-windows-api-openapi.yml#/components/schemas/GroupMaintenanceWindow",
  "properties": {
    "autoDeferOnceEnabled": {
      "description": "Flag that indicates whether MongoDB Cloud should defer all maintenance windows for one week after you enable them. This setting controls the same underlying auto-deferral feature as the `/maintenanceWindow/autoDefer` endpoint. Use either this field (to set a specific value) or that endpoint (to toggle the current value). For most use cases, this field in the PATCH request is preferred because it allows setting an explicit value rather than toggling.",
      "type": "boolean"
    },
    "dayOfWeek": {
      "description": "One-based integer that represents the day of the week that the maintenance window starts.\n\n- `1`: Sunday.\n- `2`: Monday.\n- `3`: Tuesday.\n- `4`: Wednesday.\n- `5`: Thursday.\n- `6`: Friday.\n- `7`: Saturday.",
      "format": "int32",
      "maximum": 7,
      "minimum": 1,
      "type": "integer"
    },
    "hourOfDay": {
      "description": "Zero-based integer that represents the hour of the of the day that the maintenance window starts according to a 24-hour clock. Use `0` for midnight and `12` for noon.",
      "format": "int32",
      "maximum": 23,
      "minimum": 0,
      "type": "integer"
    },
    "numberOfDeferrals": {
      "description": "Number of times the current maintenance event for this project has been deferred.",
      "format": "int32",
      "readOnly": true,
      "type": "integer"
    },
    "protectedHours": {
      "$ref": "#/$defs/ProtectedHours"
    },
    "startASAP": {
      "description": "Flag that indicates whether MongoDB Cloud starts the maintenance window immediately upon receiving this request. To start the maintenance window immediately for your project, MongoDB Cloud must have maintenance scheduled and you must set a maintenance window. This flag resets to `false` after MongoDB Cloud completes maintenance.",
      "type": "boolean"
    },
    "timeZoneId": {
      "description": "Identifier for the current time zone of the maintenance window. This can only be updated via the Project Settings UI.",
      "readOnly": true,
      "type": "string"
    }
  },
  "required": [
    "dayOfWeek"
  ],
  "type": "object",
  "$defs": {
    "ProtectedHours": {
      "description": "Defines the a window where maintenance will not begin within.",
      "properties": {
        "endHourOfDay": {
          "description": "Zero-based integer that represents the end hour of the of the day that the maintenance will not begin in.",
          "format": "int32",
          "maximum": 23,
          "minimum": 0,
          "type": "integer"
        },
        "startHourOfDay": {
          "description": "Zero-based integer that represents the beginning hour of the of the day that the maintenance will not begin in.",
          "format": "int32",
          "maximum": 23,
          "minimum": 0,
          "type": "integer"
        }
      },
      "type": "object"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/mongodb-group-maintenance-window"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.