Modoboa · Schema

PatchedDomain

Domain serializer for v2 API.

EmailMail ServerOpen SourceWebmailManagementCompany

Properties

Name Type Description
pk integer
name string The domain name
quota string Quota shared between mailboxes. Can be expressed in KB, MB (default) or GB. A value of 0 means no quota.
default_mailbox_quota string Default quota in MB applied to mailboxes. A value of 0 means no quota.
enabled boolean Check to activate this domain
type string
enable_dkim boolean If you activate this feature, a DKIM key will be generated for this domain.
dkim_key_selector string
dkim_key_length object
dkim_public_key string
dkim_private_key_path string
mailbox_count integer
mbalias_count integer
domainalias_count integer
dns_global_status string Return global DNS status.
message_limit integernull Number of messages this domain can send per day
creation string
last_modification string
allocated_quota_in_percent string
enable_dns_checks boolean Check to enable DNS checks for this domain
domain_admin object
transport object
opened_alarms_count integer Number of alarms currently opened for this domain.
sent_messages string
sent_messages_in_percent integernull Return number of sent messages as a percentage.
last_dns_check_execution stringnull
View JSON Schema on GitHub

JSON Schema

modoboa-patched-domain-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/modoboa/json-schema/modoboa-patched-domain-schema.json",
  "title": "PatchedDomain",
  "description": "Domain serializer for v2 API.",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/modoboa-openapi.json#/components/schemas/PatchedDomain",
  "type": "object",
  "properties": {
    "pk": {
      "type": "integer",
      "readOnly": true,
      "title": "ID"
    },
    "name": {
      "type": "string",
      "description": "The domain name",
      "maxLength": 253
    },
    "quota": {
      "type": "string",
      "description": "Quota shared between mailboxes. Can be expressed in KB, MB (default) or GB. A value of 0 means no quota."
    },
    "default_mailbox_quota": {
      "type": "string",
      "description": "Default quota in MB applied to mailboxes. A value of 0 means no quota."
    },
    "enabled": {
      "type": "boolean",
      "description": "Check to activate this domain"
    },
    "type": {
      "type": "string",
      "maxLength": 20
    },
    "enable_dkim": {
      "type": "boolean",
      "title": "Enable DKIM signing",
      "description": "If you activate this feature, a DKIM key will be generated for this domain."
    },
    "dkim_key_selector": {
      "type": "string",
      "maxLength": 30
    },
    "dkim_key_length": {
      "nullable": true,
      "title": "Key length",
      "minimum": 0,
      "maximum": 9223372036854775807,
      "oneOf": [
        {
          "$ref": "#/$defs/DkimKeyLengthEnum"
        },
        {
          "$ref": "#/$defs/NullEnum"
        }
      ]
    },
    "dkim_public_key": {
      "type": "string",
      "readOnly": true
    },
    "dkim_private_key_path": {
      "type": "string",
      "readOnly": true
    },
    "mailbox_count": {
      "type": "integer",
      "readOnly": true
    },
    "mbalias_count": {
      "type": "integer",
      "readOnly": true
    },
    "domainalias_count": {
      "type": "integer",
      "readOnly": true
    },
    "dns_global_status": {
      "type": "string",
      "description": "Return global DNS status.",
      "readOnly": true
    },
    "message_limit": {
      "type": [
        "integer",
        "null"
      ],
      "maximum": 9223372036854775807,
      "minimum": 0,
      "format": "int64",
      "title": "Message sending limit",
      "description": "Number of messages this domain can send per day"
    },
    "creation": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "last_modification": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "allocated_quota_in_percent": {
      "type": "string",
      "readOnly": true
    },
    "enable_dns_checks": {
      "type": "boolean",
      "description": "Check to enable DNS checks for this domain"
    },
    "domain_admin": {
      "allOf": [
        {
          "$ref": "#/$defs/CreateDomainAdmin"
        }
      ],
      "writeOnly": true
    },
    "transport": {
      "$ref": "#/$defs/Transport"
    },
    "opened_alarms_count": {
      "type": "integer",
      "description": "Number of alarms currently opened for this domain.",
      "readOnly": true
    },
    "sent_messages": {
      "type": "string",
      "readOnly": true
    },
    "sent_messages_in_percent": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Return number of sent messages as a percentage.",
      "readOnly": true
    },
    "last_dns_check_execution": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  },
  "$defs": {
    "CreateDomainAdmin": {
      "type": "object",
      "description": "Sub serializer for domain administrator creation.",
      "properties": {
        "username": {
          "type": "string"
        },
        "password": {
          "type": "string"
        },
        "with_mailbox": {
          "type": "boolean",
          "default": false
        },
        "with_aliases": {
          "type": "boolean",
          "default": false
        }
      },
      "required": [
        "username"
      ]
    },
    "DkimKeyLengthEnum": {
      "enum": [
        1024,
        2048,
        4096
      ],
      "type": "integer",
      "description": "* `1024` - 1024\n* `2048` - 2048\n* `4096` - 4096"
    },
    "NullEnum": {
      "enum": [
        null
      ]
    },
    "Transport": {
      "type": "object",
      "description": "Serializer for Transport model.",
      "properties": {
        "service": {
          "type": "string",
          "maxLength": 30
        },
        "settings": {
          "type": "object",
          "additionalProperties": {}
        }
      },
      "required": [
        "service",
        "settings"
      ]
    }
  }
}

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/modoboa-patched-domain"
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.