{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bodyspec/json-schema/bodyspec-webhook-update-request-schema.json",
  "title": "WebhookUpdateRequest",
  "description": "Request model for updating a webhook (partial update).\n\nNote: event_type cannot be changed after creation.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bodyspec-partner-webhooks-api-openapi.yml#/components/schemas/WebhookUpdateRequest",
  "properties": {
    "url": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2083,
          "minLength": 1,
          "format": "uri"
        },
        {
          "type": "null"
        }
      ],
      "title": "Url",
      "description": "HTTPS URL to receive webhook events"
    },
    "secret": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 256
        },
        {
          "type": "null"
        }
      ],
      "title": "Secret",
      "description": "New secret for webhook authentication. Pass empty string to remove."
    },
    "enabled": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Enabled",
      "description": "Whether the webhook is enabled"
    }
  },
  "type": "object",
  "x-internal": true
}