---
title: "DeleteWebhook"
method: POST
path: "/gitpod.v1.WebhookService/DeleteWebhook"
tags: ["gitpod.v1.WebhookService"]
---

# DeleteWebhook

`POST /gitpod.v1.WebhookService/DeleteWebhook`

Deletes a webhook permanently.

 Use this method to:
 - Remove unused webhooks
 - Clean up webhook configurations

 ### Examples

 - Delete webhook:

   Permanently removes a webhook.

   ```yaml
   webhookId: "b0e12f6c-4c67-429d-a4a6-d9838b5da047"
   ```

## Request body

- GitpodV1DeleteWebhookRequest — DeleteWebhookRequest deletes a webhook permanently.
  - `webhookId` string, uuid

## Response `200`

Success

- GitpodV1DeleteWebhookResponse
  - `affectedWorkflowIds` string[] — IDs of workflows that had their triggers converted to manual type because they referenced the deleted webhook.

## Other responses

- `default` — Error

---

[API](https://skmtc.net/gitpod-io/apis/gitpod-v1.md) · [All operations](https://skmtc.net/gitpod-io/apis/gitpod-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gitpod-io/gitpod-v1/revisions/44d50c2ac284/schema)
