# UpdateWebhookSubscriptionInput

Input object

Partial-update input for updateWebhookSubscription. Only provided fields are updated; omitted fields are left unchanged.

## Fields

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `eventTypes` | `[String!]` | No | — | Event types. When provided, replaces the existing list. |
| `metadata` | [`JSON`](/api/v2/docs/types/json) | No | — | Opaque metadata. When provided, replaces it (max 4KB serialized). |
| `name` | `String` | No | — | Display name. When provided, replaces the existing name. |
| `status` | [`WebhookSubscriptionStatus`](/api/v2/docs/types/webhook-subscription-status) | No | — | Pause (DISABLED_BY_USER) or resume (ACTIVE) the subscription. DISABLED_BY_FAILURES is system-owned and rejected. |
| `url` | `String` | No | — | HTTPS endpoint. When provided, re-validated against SSRF ranges. |
| `viewIds` | `[ID!]` | No | — | Content-view UUIDs. When provided, replaces the list (re-checked for ownership and the tier cap). Required while any subscribed event type is view-scoped (every v1 type); must be empty for non-view types. Changing eventTypes re-checks this against the resulting combination. |
