Zum Hauptinhalt springen
PATCH
/
webhooks
/
{id}
Update webhook
curl --request PATCH \
  --url https://coreapi.io/webhooks/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/merge-patch+json' \
  --data '
{
  "events": [
    "<string>"
  ],
  "version": "<string>",
  "enabled": true
}
'
{
  "id": "<string>",
  "events": [
    "<string>"
  ],
  "version": "<string>",
  "enabled": true,
  "url": "<string>"
}

Autorisierungen

Authorization
string
header
erforderlich

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Pfadparameter

id
string
erforderlich

Webhook identifier

Body

The updated Webhook resource

events
string[]
version
string
enabled
boolean

Antwort

Webhook resource updated

id
string
events
string[]
version
string
enabled
boolean
url
string