# Patch Webhook

## Update Webhook URL Configuration

> Update the Webhook URL in the Edge.

```json
{"openapi":"3.0.0","info":{"title":"Monogoto Edge User API Configuration","version":"2.0"},"tags":[{"name":"Webhook Configuration","description":"Configure and manage webhook URLs for alerts/events."}],"servers":[{"url":"https://api.monogoto.io/api"}],"security":[],"paths":{"/webhook":{"patch":{"summary":"Update Webhook URL Configuration","description":"Update the Webhook URL in the Edge.","tags":["Webhook Configuration"],"requestBody":{"required":true,"description":"Schema for Updating Webhook Configurations","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookConfig"}}}},"responses":{"200":{"description":"Successful Response"}}}}},"components":{"schemas":{"WebhookConfig":{"type":"object","properties":{"alerts":{"$ref":"#/components/schemas/WebhookAlerts"}},"required":["alerts"]},"WebhookAlerts":{"type":"object","properties":{"cdr":{"$ref":"#/components/schemas/WebhookAlertConfig"},"s1ap":{"$ref":"#/components/schemas/WebhookAlertConfig"},"s6a":{"$ref":"#/components/schemas/WebhookAlertConfig"},"uesubs":{"$ref":"#/components/schemas/WebhookAlertConfig"}},"required":["cdr","s1ap","s6a","uesubs"]},"WebhookAlertConfig":{"type":"object","properties":{"enabled":{"type":"boolean"},"webhook_url":{"type":"string","format":"uri"}},"required":["enabled","webhook_url"]}}}}
```
