Update a webhook endpoint
Patch an existing StableOps Webhook endpoint with at least one supported field, and inspect request validation and responses when changing notification setup.
/v1/webhook-endpoints/{id}Authorization
bearerAuth Paste your API key from the dashboard.
In: header
Path Parameters
Webhook endpoint id.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/v1/webhook-endpoints/{id}" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "string",
"url": "http://example.com",
"description": "string",
"enabled_events": [
"payment_order.created"
],
"redact_metadata": true,
"disabled_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z",
"secret": "string"
}{
"statusCode": -9007199254740991,
"message": "string",
"error": "string"
}{
"statusCode": -9007199254740991,
"message": "string",
"error": "string"
}{
"statusCode": -9007199254740991,
"message": "string",
"error": "string"
}How is this guide?
Last updated
Delete a webhook endpoint DELETE
Review the StableOps Webhook endpoint deletion request, required endpoint ID, authentication, and response before removing an existing notification destination.
Rotate the signing secret POST
Rotate a StableOps Webhook signing secret and retain a 24-hour overlap with the previous key so receivers can update verification without interrupting delivery.