---
title: "UpdateWebhookSubscriptionBody"
description: "Request body for updating a WebhookSubscription."
section: "Reference"
group: "Types"
order: 264
---

## Definition

```ts
interface UpdateWebhookSubscriptionBody {
  name?: string | undefined;
  url?: string | undefined;
  secret?: string | undefined;
  filter?:
    | {
        version: 1;
        root: import("/home/runner/work/aeontel/aeontel/packages/shared/src/conditions/schema").ConditionNode;
      }
    | null
    | undefined;
  enabled?: boolean | undefined;
  runtimeUserId?: string | null | undefined;
}
```

## Fields

| Field           | Type                                                                                                                                          | Notes                                                                                                                                                              |
| --------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `name`          | `string \| undefined`                                                                                                                         | `optional` — New name                                                                                                                                              |
| `url`           | `string \| undefined`                                                                                                                         | `optional` — New URL                                                                                                                                               |
| `secret`        | `string \| undefined`                                                                                                                         | `optional` — New secret                                                                                                                                            |
| `filter`        | `{ version: 1; root: import("/home/runner/work/aeontel/aeontel/packages/shared/src/conditions/schema").ConditionNode; } \| null \| undefined` | `optional` — Pass null to clear, omit to leave unchanged, or a Condition to replace.                                                                               |
| `enabled`       | `boolean \| undefined`                                                                                                                        | `optional` — Enable or disable                                                                                                                                     |
| `runtimeUserId` | `string \| null \| undefined`                                                                                                                 | `optional` — Override the workspace default service user as the actor recorded on outbound delivery events. Null clears the override. Workspace-admin-only to set. |
