{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/circleci/main/json-schema/circleci-update-webhook-request-schema.json",
  "title": "UpdateWebhookRequest",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/circleci-webhook-api-openapi.yml#/components/schemas/UpdateWebhookRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the webhook"
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "The URL to deliver webhook payloads to"
    },
    "events": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "workflow-completed",
          "job-completed"
        ]
      },
      "description": "The events to subscribe to"
    },
    "signing-secret": {
      "type": "string",
      "description": "Secret used to generate HMAC signature"
    },
    "verify-tls": {
      "type": "boolean",
      "description": "Whether to verify TLS on delivery"
    }
  }
}