---
title: "UpdateWebhookEndpointBody"
description: "Request body for updating a WebhookEndpoint."
section: "Reference"
group: "Types"
order: 260
---

## Definition

```ts
interface UpdateWebhookEndpointBody {
  name?: string | undefined;
  secret?: string | undefined;
  signatureHeader?: string | null | undefined;
  signatureAlgo?: "hmac-sha256" | "hmac-sha1" | null | undefined;
  enabled?: boolean | undefined;
}
```

## Fields

| Field             | Type                                                | Notes                                                  |
| ----------------- | --------------------------------------------------- | ------------------------------------------------------ |
| `name`            | `string \| undefined`                               | `optional` — New name                                  |
| `secret`          | `string \| undefined`                               | `optional` — New secret                                |
| `signatureHeader` | `string \| null \| undefined`                       | `optional` — New signature header name; null to clear. |
| `signatureAlgo`   | `"hmac-sha256" \| "hmac-sha1" \| null \| undefined` | `optional` — New signature algorithm; null to clear.   |
| `enabled`         | `boolean \| undefined`                              | `optional` — Enable or disable                         |
