---
title: "Update Audit Log Webhook"
method: PATCH
path: "/v2/audit-log-webhook"
tags: ["Audit Logs"]
---

# Update Audit Log Webhook

`PATCH /v2/audit-log-webhook`

Updates the configuration for a webhook to receive audit logs.

## Request body

- object
  - `endpoint` string — The endpoint that will receive audit log messages.
  - `authorization` string — The value to include in the `Authorization` header when sending audit logs to the webhook.
  - `enabled` boolean — Indicates if the data should be sent to the webhook.
  - `log_format` 'cef' | 'json' — The output format of each log messages.
  - `skip_ssl_verification` boolean — Indicates if the SSL certificate verification of the host endpoint should be skipped when delivering payloads. We strongly recommend not setting this to 'true' as you are subject to man-in-the-middle and other attacks. This option should be considered only for self-signed SSL certificates used in a non-production environment.

## Response `200`

Get response for audit log webhook

- object
  - `endpoint` string — The endpoint that will receive audit log messages.
  - `enabled` boolean — Indicates whether audit data should be sent to the webhook.
  - `log_format` 'cef' | 'json' — The output format of each log messages.
  - `skip_ssl_verification` boolean — Indicates if the SSL certificate verification of the host endpoint should be skipped when delivering payloads.
  - `updated_at` string, date-time — Timestamp when this webhook was last updated. Initial value is 0001-01-01T00:00:0Z.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden

## Changes

- **2025-06-19** `60ce7598bbd0` — 2 info
  - the `log_format` request property default value `cef` was added
  - the `log_format` response's property default value `cef` was added for the status `200`
- **2025-02-10** `d833d4dbb1fa` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/kong/apis/konnect-api/changes/v2/audit-log-webhook/patch.md)

---

[API](https://skmtc.dev/kong/apis/konnect-api.md) · [All operations](https://skmtc.dev/kong/apis/konnect-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kong/konnect-api/revisions/60ce7598bbd0/schema)
