---
title: "PUT webhook"
slug: "put-webhook"
abstract: "How to update a webhook with a specific ID."
---
# PUT webhook

A `PUT` query to the *webhooks* endpoint updates an existing webhook identified by its `id`.

| Relative Route | `/webhooks/<id>` |
| --- | --- |
| `HTTP Verb` | `PUT` |

## Body

The body structure is as follows:

```json
{
  "label": "My existing webhook",
  "createdBy": "anco",
  "uri": "https://localhost",
  "method": "GET",
  "headers": {
    "X-Custom-Header1":"foo"
  },
  "body": "bar",
  "disabled": false
}

```

## Response

A successful query returns the *no content* status code (204).