---
title: "Update Audit Log Destination"
method: PATCH
path: "/v2/audit-log-destinations/{auditLogDestinationId}"
tags: ["Audit Logs"]
---

# Update Audit Log Destination

`PATCH /v2/audit-log-destinations/{auditLogDestinationId}`

Updates configuration for the audit log destination.

## Request body

- object
  - `name` string, nullable — The name of the audit log destination.
  - `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.
  - `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`

Audit log destination response

- AuditLogDestination — Audit Log Destination Schema
  - `id` string, uuid — The unique ID of the audit log destination.
  - `name` string, nullable — The name of the audit log destination.
  - `endpoint` string, nullable — The endpoint that will receive audit log messages.
  - `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.
  - `created_at` string, date-time — Timestamp when this webhook was created.
  - `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
- `404` — Not Found

---

[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/versions/06734a9c491f/schema)
