{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sendmux-ai/json-schema/sendmux-ai-update-mailbox-body-schema.json",
  "title": "UpdateMailboxBody",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sendmux-ai-mailboxes-api-openapi.yml#/components/schemas/UpdateMailboxBody",
  "additionalProperties": false,
  "properties": {
    "display_name": {
      "description": "Replace the display name; send null to clear it.",
      "maxLength": 254,
      "minLength": 1,
      "type": [
        "string",
        "null"
      ]
    },
    "quota_bytes": {
      "description": "Storage quota in bytes. Allowed values: 1073741824 (1 GB), 5368709120 (5 GB), 53687091200 (50 GB).",
      "minimum": 1,
      "type": "integer"
    },
    "send_scope": {
      "additionalProperties": false,
      "description": "Replace outbound routing restrictions.",
      "properties": {
        "group_public_ids": {
          "description": "Delivery group public IDs allowed for sending when type is `group`.",
          "items": {
            "maxLength": 128,
            "minLength": 1,
            "type": "string"
          },
          "type": "array"
        },
        "provider_public_ids": {
          "description": "Provider public IDs allowed for sending when type is `providers`.",
          "items": {
            "maxLength": 128,
            "minLength": 1,
            "type": "string"
          },
          "type": "array"
        },
        "type": {
          "description": "Outbound routing strategy. Use `providers` with provider_public_ids, or `group` with group_public_ids.",
          "enum": [
            "all",
            "providers",
            "group"
          ],
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "type": "object"
}