---
title: "PUTウェブフック"
slug: "put-webhook"
abstract: "特定のIDでウェブフックを更新する方法。"
---
# PUTウェブフック

*ウェブフック*エンドポイントへのPUTクエリは、そのidで識別される既存のウェブフックを更新します。

相対ルート

/webhooks/<id>

HTTP Verb

PUT

## 本文

ボディ構造は以下の通りです。

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

## 反応

クエリに成功すると、*no content* statusコード(204)が返されます。