Skip to main content
PUT
/
api
/
v1
/
webhooks
/
{id}
Update a webhook endpoint
curl --request PUT \
  --url https://api.devhelm.io/api/v1/webhooks/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "<string>",
  "description": "<string>",
  "subscribedEvents": [
    "<string>"
  ],
  "enabled": true
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "url": "<string>",
    "description": "<string>",
    "subscribedEvents": [
      "<string>"
    ],
    "enabled": true,
    "consecutiveFailures": 123,
    "disabledReason": "<string>",
    "disabledAt": "2023-11-07T05:31:56Z",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

API key (dh_live_...) or Auth0 JWT token

Path Parameters

id
string<uuid>
required

Body

application/json
url
string | null

New webhook URL; null preserves current

Maximum string length: 2048
description
string | null

New description; null preserves current

Maximum string length: 255
subscribedEvents
(string | null)[] | null

Replace subscribed events; null preserves current

Replace subscribed events; null preserves current

enabled
boolean | null

Enable or disable delivery; null preserves current

Response

200 - */*

OK

data
object

Webhook endpoint that receives event delivery payloads