{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/webex/json-schema/webex-put-voicemail-settings-object-schema.json",
  "title": "PutVoicemailSettingsObject",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/webex-calling-service-settings-api-openapi.yml#/components/schemas/PutVoicemailSettingsObject",
  "type": "object",
  "required": [
    "messageExpiryEnabled",
    "numberOfDaysForMessageExpiry"
  ],
  "properties": {
    "messageExpiryEnabled": {
      "type": "boolean",
      "description": "Set to `true` to enable voicemail deletion and set the deletion conditions for expired messages."
    },
    "numberOfDaysForMessageExpiry": {
      "type": "number",
      "description": "Number of days after which messages expire."
    },
    "strictDeletionEnabled": {
      "type": "boolean",
      "description": "Set to `true` to delete all read and unread voicemail messages based on the time frame you set. Set to `false` to keep all the unread voicemail messages."
    },
    "voiceMessageForwardingEnabled": {
      "type": "boolean",
      "description": "Set to `true` to allow people to configure the email forwarding of voicemails."
    }
  }
}