Skip to main content

Delete Webhook Configuration

Overview​

Permanently deletes a webhook configuration. This action cannot be undone. The webhook key will become available for reuse after deletion.

Command Details​

  • Command: DeleteWebHookConfigCommand
  • Type: Command (write operation)

API Endpoint​

POST /api/bpm/cmd

Request Structure​

FieldTypeRequiredDescription
$typestringYesMust be DeleteWebHookConfigCommand
idlongYesThe ID of the webhook configuration to delete

Try It Out​

POST/api/bpm/cmdDeleteWebHookConfigCommand
Request Body

Response Structure​

Success:

{
"success": true,
"data": {
"id": 201,
"key": "payment-notification",
"deletedAt": "2026-03-09T16:00:00Z"
},
"message": "Webhook configuration deleted successfully"
}

Error:

{
"success": false,
"data": null,
"message": "Deletion failed",
"errors": [
"Configuration not found"
]
}