---
title: "Update Portal Audit Log Webhook"
method: PATCH
path: "/v3/portals/{portalId}/audit-log-webhook"
tags: ["Portal Audit Logs"]
---

# Update Portal Audit Log Webhook

`PATCH /v3/portals/{portalId}/audit-log-webhook`

Updates the configuration for a webhook to receive audit logs.

## Request body

- object
  - `enabled` boolean — Indicates if the data should be sent to the configured destination.
  - `audit_log_destination_id` string, uuid — ID of the audit log destination.

## Response `200`

Portal audit log webhook response

- object
  - `enabled` boolean — Indicates if the data should be sent to the configured audit log destination.
  - `audit_log_destination_id` string, uuid — ID of the audit log destination.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

## Changes

- **2026-09-25** `68d43091b84d` — 3 warning
  - added the new `400.00` enum value to the `status` response property for the response status `400`
  - added the new `403.00` enum value to the `status` response property for the response status `403`
  - added the new `404.00` enum value to the `status` response property for the response status `404`
- **2026-09-18** `f324fb7610e4` — 3 breaking, 24 info
  - the response's body type changed from no type to `object` for status `400`
  - the response's body type changed from no type to `object` for status `403`
  - the response's body type changed from no type to `object` for status `404`
  - removed `#/components/schemas/BaseError, subschema #2` from the response body `allOf` list for the response status `400`
  - …23 more
- **2025-10-30** `845120e19d45` — 1 breaking
  - the request property `audit_log_destination_id` became not nullable
- **2025-10-23** `8ab3ec3ed301` — 1 warning
  - added the new `type` enum value to the `allOf[subschema #2]/invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule` response property for the response status `400`
- …earlier changes not shown

[Full history](https://skmtc.dev/kong/apis/konnect-api-go-sdk/changes/v3/portals/:portalId/audit-log-webhook/patch.md)

---

[API](https://skmtc.dev/kong/apis/konnect-api-go-sdk.md) · [All operations](https://skmtc.dev/kong/apis/konnect-api-go-sdk/llms.txt) · [OpenAPI document](https://skmtc.dev/kong/apis/konnect-api-go-sdk/revisions/68d43091b84d?raw)
