---
title: "PUT /webhookEndpoints/{webhookEndpointID}"
method: PUT
path: "/webhookEndpoints/{webhookEndpointID}"
tags: ["WebhookEndpoints"]
---

# PUT /webhookEndpoints/{webhookEndpointID}

`PUT /webhookEndpoints/{webhookEndpointID}`

Updates an existing webhook endpoint

## Path parameters

- `webhookEndpointID` string, required

## Request body

- WebhookEndpointUpdateReq
  - `url` string
  - `basicAuthUsername` string
  - `basicAuthPassword` string
  - `subscribedEvents` WebhookEventType[]
  - `customHeaders` object

## Response `200`

Webhook endpoint has been updated.

- WebhookEndpoint
  - `id` string, required
  - `url` string, required
  - `basicAuthUsername` string, required
  - `basicAuthPassword` string, required
  - `customHeaders` object, required
  - `subscribedEvents` WebhookEventType[], required
  - `created` string, required
  - `createdMs` integer, required
  - `updated` string, required
  - `updatedMs` integer, required

## Other responses

- `default` — Error

---

[API](https://skmtc.net/corbado/apis/corbado-backend-api.md) · [All operations](https://skmtc.net/corbado/apis/corbado-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/corbado/corbado-backend-api/versions/1f6143efe426/schema)
