---
title: "Update webhook by id"
method: PATCH
path: "/v1/webhooks/{id}"
tags: ["Webhooks"]
---

# Update webhook by id

`PATCH /v1/webhooks/{id}`

Update a webhook.

## Path parameters

- `id` string, required — The unique identifier of a webhook.

## Request body

- object
  - `url` string, uri — The url of the callback that will be triggered when the webhook is fired.
  - `type` 'LEARNER_TRAINING_CAMPAIGN_COMPLETED' — The type of webhook. Currently, only one type, `LEARNER_TRAINING_CAMPAIGN_COMPLETED`, is supported.

## Response `204`

No Content

## Other responses

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

---

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