# Update a webhook (rotate secret, change events…)

> PATCH /webhooks/{id} endpoint of the Proteside API: parameters, request body, responses and code samples.

URL: https://docs.proteside.com/en/docs/api/reference/webhooks/updateWebhook

## Method and route

`PATCH /webhooks/{id}`

## Parameters

- `id` (path, `string`, required)
- `org_id` (query, `string`): Partners only (`orgs:manage`): act on this child organization. May also be sent as `org_id` in JSON bodies.

## Request body

- `url` (`string`)
- `secret` (`string`): Rotate the signing secret
- `name` (`string`)
- `events` (`array,null`)
- `min_severity` (`"critical" | "high" | "medium" | "low" | "info"`)
- `active` (`boolean`)

## Responses

- `200`: Webhook
- `404`: Not found in the acting organization

Full OpenAPI specification: https://app.proteside.com/api/v1/openapi.json
