---
title: "Update webhook subscription"
method: PUT
path: "/subscriptions/webhook/{id}"
tags: ["Notification"]
---

# Update webhook subscription

`PUT /subscriptions/webhook/{id}`

Update webhook subscription by ID.

## Path parameters

- `id` integer, required

## Request body

- XiqUpdateWebhookSubscriptionRequest — The payload to update webhook subscription
  - `application` string, required — The external application name.
  - `url` string, required — The webhook endpoint URL.
  - `secret` string — The basic auth secret for the webhook endpoint.
  - `message_type` 'LOCATION_AP_CENTRIC' | 'LOCATION_CLIENT_CENTRIC' | 'AUDIT_LOG_ALL' | 'GDPR_LOG_ALL' | 'CREDENTIAL_LOG_ALL' | 'ACCOUNTING_LOG_ALL' | 'AUTHENTICATION_LOG_ALL' | 'EMAIL_LOG_ALL' | 'SMS_LOG_ALL', required — The subscription message type.
  - `status` 'ENABLED' | 'DISABLED', required — The webhook subscription status.

## Response `200`

OK

- XiqWebhookSubscription — The webhook subscription data model
  - `id` integer, required — The unique identifier
  - `create_time` string, date-time, required — The create time in UTC (ISO 8601 format)
  - `update_time` string, date-time, required — The last update time in UTC (ISO 8601 format)
  - `application` string, required — The external application name.
  - `url` string, required — The webhook endpoint URL.
  - `secret` string, required — The basic auth secret for the webhook endpoint.
  - `data_type` 'LOCATION' | 'AUDIT_LOG' | 'GDPR_LOG' | 'CREDENTIAL_LOG' | 'ACCOUNTING_LOG' | 'AUTHENTICATION_LOG' | 'EMAIL_LOG' | 'SMS_LOG', required — The webhook subscription data type.
  - `message_type` 'LOCATION_AP_CENTRIC' | 'LOCATION_CLIENT_CENTRIC' | 'AUDIT_LOG_ALL' | 'GDPR_LOG_ALL' | 'CREDENTIAL_LOG_ALL' | 'ACCOUNTING_LOG_ALL' | 'AUTHENTICATION_LOG_ALL' | 'EMAIL_LOG_ALL' | 'SMS_LOG_ALL', required — The subscription message type.
  - `status` 'ENABLED' | 'DISABLED', required — The webhook subscription status.

---

[API](https://skmtc.net/extremecloudiq/apis/extremecloud-iq-api.md) · [All operations](https://skmtc.net/extremecloudiq/apis/extremecloud-iq-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/extremecloudiq/extremecloud-iq-api/versions/5ff7ab84e8e8/schema)
