---
title: "Updates a subscription to the provided list of events"
method: PUT
path: "/WebhookSubscription/{subscriptionId}"
tags: ["WebhookSubscription"]
---

# Updates a subscription to the provided list of events

`PUT /WebhookSubscription/{subscriptionId}`

## Path parameters

- `subscriptionId` string, uuid, required

## Headers

- `api-version` string

## Request body

- UpdateWebhookSubscriptionModel — A model representing the webhook subscription for list of events
  - `eventCodes` string[], required — Gets or sets the Events Code Numbers

## Response `200`

ActionResult

## Other responses

- `400` — Something went wrong!
- `401` — Unauthorized request

---

[API](https://skmtc.dev/youlend/apis/prequalification.md) · [All operations](https://skmtc.dev/youlend/apis/prequalification/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/youlend/prequalification/revisions/a76313c6cc3d/schema)
