---
title: "PUT /v2/webhooks/{webhook_id}/"
method: PUT
path: "/v2/webhooks/{webhook_id}/"
tags: ["Others"]
---

# PUT /v2/webhooks/{webhook_id}/

`PUT /v2/webhooks/{webhook_id}/`

View a single webhook, update the endpoint, or delete it

## Request body

- WebhookSerializerV2
  - `id` integer
  - `name` string, nullable
  - `description` string, nullable
  - `endpoint` string, uri, required
  - `version` 'v1' | 'v2', nullable
  - `headers` object
  - `enabled` boolean
  - `type` 'counts'

## Response `200`

Updated

- OptionalWebhookSerializer
  - `id` integer
  - `endpoint` string, uri, required

## Other responses

- `400` — Bad Request
- `403` — Forbidden

---

[API](https://skmtc.dev/density/apis/your-project-api.md) · [All operations](https://skmtc.dev/density/apis/your-project-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/density/your-project-api/revisions/eab10fe035e6/schema)
