Function hooks/unSubscribe (http://<DOMAIN>/api/hooks/unSubscribe/)
Parameters:
Response:
Also, on successful unsubscription from the web-hook, the server will return the HTTP/1.1 410 Gone header which means that the web-hook link will no longer send the data.
Example query to http://<DOMAIN>/api/hooks/unSubscribe/
{
"token": "<YOUR TOKEN>",
"id": 1,
"target_url": "http://your_crm.com/order/created"
}
Example of a response to a query
{
"status": "OK"
}