account:manage_integrations permission.
Patch a webhook
Delete a webhook
| Property | Value |
|---|---|
| Auth | Required |
| Required permission | account:manage_integrations |
| Idempotent | PATCH yes. DELETE yes (returns 404 on second call). |
Allowed events
score.completed, subscription.changed. Unknown event names are silently dropped from the array.
Body (PATCH)
| Field | Type | Notes |
|---|---|---|
url | string | Must start with https://. HTTP rejected. |
events | string[] | Replaces the prior list. |
enabled | boolean | Toggles delivery. |
Errors
| Status | Code | When |
|---|---|---|
| 400 | url must be HTTPS | URL with http:// scheme. |
| 401 | AUTH_REQUIRED | No session. |
| 403 | FORBIDDEN | Caller lacks account:manage_integrations. |
| 404 | Not found | Webhook does not exist or belongs to another account. |
| 500 | INTERNAL_ERROR | Write failed. |