{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/telnyx/main/json-schema/telnyx-bulk-messaging-settings-update-phone-numbers-request-schema.json",
  "title": "BulkMessagingSettingsUpdatePhoneNumbersRequest",
  "x-generated": "2026-10-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/telnyx-number-settings-api-openapi.yml#/components/schemas/BulkMessagingSettingsUpdatePhoneNumbersRequest",
  "properties": {
    "assign_only": {
      "default": false,
      "description": "If true, only assign numbers to the profile without changing other settings.",
      "type": "boolean"
    },
    "messaging_profile_id": {
      "description": "Configure the messaging profile these phone numbers are assigned to:\n\n* Set this field to `\"\"` to unassign each number from their respective messaging profile\n* Set this field to a quoted UUID of a messaging profile to assign these numbers to that messaging profile",
      "type": "string"
    },
    "numbers": {
      "description": "The list of phone numbers to update.",
      "items": {
        "type": "string",
        "x-format": "+E.164"
      },
      "type": "array"
    }
  },
  "required": [
    "messaging_profile_id",
    "numbers"
  ],
  "type": "object"
}