Change a webhook
PATCH
/system/webhooks/{webhookId}
3.0.0, administrators: url, events, collections, active, includeDocuments; switched on again, its failures start over.
Authorizations
httpAuth
Type
HTTP (bearer)
or
httpAuth1
Type
HTTP (basic)
or
apiKeyAuth
Type
API Key (header: X-AUTH-APIKEY)
Parameters
Path Parameters
webhookId*
The id of the webhook
Type
Requiredstring
Request Body
application/json
JSON "url": "string", "events": [ "string" ], "collections": [ "string" ], "active": true, "includeDocuments": true
{
}
Responses
application/json
JSON "id": "string", "url": "string", "events": [ "string" ], "collections": [ "string" ], "active": true, "includeDocuments": true, "failures": 0, "disabledAt": "2024-01-01T00:00:00Z", "createdAt": "2024-01-01T00:00:00Z", "declared": true, "secret": "string"
{
}
