{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/telnyx/main/json-schema/telnyx-update-fqdn-request-schema.json",
  "title": "Update FQDN Request",
  "x-generated": "2026-10-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/telnyx-fqdns-api-openapi.yml#/components/schemas/UpdateFqdnRequest",
  "properties": {
    "connection_id": {
      "description": "ID of the FQDN connection to which this IP should be attached.",
      "type": "string"
    },
    "dns_record_type": {
      "description": "The DNS record type for the FQDN. For cases where a port is not set, the DNS record type must be 'srv'. For cases where a port is set, the DNS record type must be 'a'. If the DNS record type is 'a' and a port is not specified, 5060 will be used.",
      "type": "string"
    },
    "fqdn": {
      "description": "FQDN represented by this resource.",
      "type": "string"
    },
    "port": {
      "default": 5060,
      "description": "Port to use when connecting to this FQDN.",
      "type": [
        "integer",
        "null"
      ]
    }
  },
  "type": "object"
}