{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hookbridge/main/json-schema/hookbridge-update-inbound-endpoint-request-schema.json",
  "title": "UpdateInboundEndpointRequest",
  "x-generated": "2026-10-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/hookbridge-api-openapi.yml#/components/schemas/UpdateInboundEndpointRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 255,
      "description": "Updated endpoint name"
    },
    "description": {
      "type": "string",
      "maxLength": 500,
      "description": "Updated description"
    },
    "mode": {
      "type": "string",
      "enum": [
        "forward",
        "cli",
        "pull"
      ],
      "description": "Updated endpoint mode. When switching to `forward`, a URL is required —\neither provided in this request or already stored on the endpoint.\n"
    },
    "url": {
      "type": "string",
      "format": "uri",
      "pattern": "^https://",
      "minLength": 12,
      "maxLength": 2048,
      "description": "Updated forwarding URL"
    },
    "verify_static_token": {
      "type": "boolean",
      "description": "Enable/disable static token verification"
    },
    "token_header_name": {
      "type": "string",
      "description": "Updated header name for static token"
    },
    "token_query_param": {
      "type": "string",
      "description": "Updated query param for static token"
    },
    "token_value": {
      "type": "string",
      "description": "Updated static token value"
    },
    "verify_hmac": {
      "type": "boolean",
      "description": "Enable/disable HMAC verification"
    },
    "hmac_header_name": {
      "type": "string",
      "description": "Updated HMAC header name"
    },
    "hmac_secret": {
      "type": "string",
      "description": "Updated HMAC secret"
    },
    "timestamp_header_name": {
      "type": "string",
      "description": "Updated timestamp header name"
    },
    "timestamp_ttl_seconds": {
      "type": "integer",
      "minimum": 1,
      "description": "Updated timestamp TTL"
    },
    "verify_ip_allowlist": {
      "type": "boolean",
      "description": "Enable/disable IP allowlist verification"
    },
    "allowed_cidrs": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Updated CIDR allowlist"
    },
    "idempotency_header_names": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Updated idempotency header names"
    },
    "ingest_response_code": {
      "type": "integer",
      "minimum": 200,
      "maximum": 299,
      "description": "Updated ingest response code"
    },
    "signing_enabled": {
      "type": "boolean",
      "description": "Enable/disable delivery signing"
    }
  }
}