---
title: "Enable/disable an endpoint or change its subscribed events."
method: PATCH
path: "/webhooks/{webhookId}"
---

# Enable/disable an endpoint or change its subscribed events.

`PATCH /webhooks/{webhookId}`

## Request

- Base URL: `https://app.seomatic.ai/api/v1`
- URL: `https://app.seomatic.ai/api/v1/webhooks/{webhookId}`
- Auth: HTTP bearer

## Path parameters

- `webhookId` string, uuid, required

## Request body

- object
  - `enabled` boolean
  - `events` string[]

## Response `200`

The updated endpoint

## Other responses

- `401`: Missing or invalid API key
- `402`: Webhooks require the Infrastructure plan
- `404`: No such endpoint in this workspace
- `429`: Rate limited (per key). Retry-After header set.

---

[API](https://skmtc.dev/seomatic/apis/seomatic-api.md) · [All operations](https://skmtc.dev/seomatic/apis/seomatic-api/llms.txt) · [OpenAPI document](https://skmtc.dev/seomatic/apis/seomatic-api/revisions/113a2a263604?raw)
