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>"
}Update webhook
Required permissions:webhook:writecurl --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>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Webhook identifier
The updated Webhook resource
War diese Seite hilfreich?