---
title: Update a webhook
description: Update the workspace webhook endpoint
method: PATCH
path: /api/v1/workspaces/{slug}/webhooks/{webhookID}
group: Webhooks
scopes: certificates:read or templates:read
---

# Update a webhook

# Update a webhook

Updates the URL, subscribed event types, and enabled flag. Requires an active Pro seat.

## Authorization

```http
Authorization: Bearer vc_...
```

## Path parameters

  
- `slug*` string — Workspace slug Example: `acme`.

  
- `webhookID*` string — Webhook subscription ID

## Body parameters

  
- `name*` string — Human-readable subscription name

  
- `url*` string — HTTPS URL that receives POST deliveries Example: `https://example.com/hooks/verifycate`.

  
- `event_types*` string[] — Event types to subscribe to, or `["*"]`

  
- `enabled*` boolean — Whether deliveries are sent Example: `true`.


