---
title: "Patch Security Webhook"
method: PATCH
path: "/repos/{repo_id}/security/webhooks/{webhook_id}"
tags: ["security"]
---

# Patch Security Webhook

`PATCH /repos/{repo_id}/security/webhooks/{webhook_id}`

## Path parameters

- `repo_id` string, required
- `webhook_id` string, required

## Request body

- SecurityWebhookPatch
  - `url` string, nullable
  - `events` string[], nullable
  - `format` 'json' | 'slack', nullable
  - `active` boolean, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/repowise/apis/repowise-hosted-api.md) · [All operations](https://skmtc.dev/repowise/apis/repowise-hosted-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/repowise/repowise-hosted-api/revisions/1e57283a9737/schema)
