Skip to main content

Deactivate Webhook Configuration

Overview​

Deactivates a webhook configuration, preventing it from processing incoming webhook requests. The configuration can be reactivated later without losing its settings.

Command Details​

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

API Endpoint​

POST /api/bpm/cmd

Request Structure​

FieldTypeRequiredDescription
$typestringYesMust be DeactivateWebHookConfigCommand
idlongYesThe ID of the webhook configuration to deactivate

Try It Out​

POST/api/bpm/cmdDeactivateWebHookConfigCommand
Request Body

Response Structure​

Success:

{
"success": true,
"data": {
"id": 201,
"key": "payment-notification",
"isEnabled": false,
"deactivatedAt": "2026-03-09T12:00:00Z"
},
"message": "Webhook configuration deactivated successfully"
}

Error:

{
"success": false,
"data": null,
"message": "Deactivation failed",
"errors": [
"Configuration not found",
"Configuration is already inactive"
]
}