---
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, nullable — The endpoint that will receive audit log messages.
  - `authorization` string, nullable — 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' | 'cps' — 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, nullable — The endpoint that will receive audit log messages.
  - `enabled` boolean, nullable — Indicates whether audit data should be sent to the webhook.
  - `log_format` 'cef' | 'json' | 'cps' — 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

---

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