Update webhook
PATCH
/api/webhooks/{id}
Authorizations
bearerAuth
API token created via POST /api/tokens or the db:create-token CLI command
Type
HTTP (bearer)
Request Body
application/json
JSON
{
"url": "string",
"events": [
"string"
],
"active": true
}
Responses
Updated webhook (secret excluded)
application/json
JSON
{
"data": {
"id": 0,
"user_id": 0,
"url": "string",
"events": [
"string"
],
"active": true,
"created_at": "string",
"updated_at": "string"
}
}
PATCH
/api/webhooks/{id}
