Skip to content

PATCH/webhooks/{id}

Update webhook

Parameters 1

NameTypeDescription
idrequiredpath · integerResource identifier

ReturnsWebhook

AcceptsWebhookInput

Bearer token required

Response examples

200Updated

application/json example derived from schema

{
  "id": 1,
  "url": "https://example.com/webhooks/receiver",
  "events": [
    "users.created",
    "orders.*"
  ]
}
400400 — invalid input or malformed JSON

application/json

{
  "error": {
    "status": 400,
    "message": "Request body required"
  }
}
404404 — resource not found

application/json

{
  "error": {
    "status": 404,
    "message": "users #999 not found"
  }
}

Released under the MIT License.