Remove Webhook
Removes a previously established webhook configuration. This means stopping sending messages of a certain type to the partner, as there will be no settings to define how this data would be sent.
The call must be made using the DELETE method.
URL
{BaseUrl}/api/v1/webhooks
If successful, a message will be returned informing the success of the operation with code HTTP 201 in case of registering a new webhook configuration, and HTTP 200 to update the data.
HTTP 200 Response Body - Example
{
"message": "Webhook configuration successfully removed"
}
In case of errors, a json will be returned with the error attribute specifying the reason for the error. operation has been invalidated.
HTTP 400 Response Body - Example
{
"error": "No configuration registered"
}