Light Mode
Deactivate Webhook
DELETE
/webhooks/unsubscribeLast modified: 2 months ago
This endpoint allows you to unsubscribe/deactivate a webhook from the active webhooks list at your store.
:::tip[Note]
- You can define which webhook to delete by using
url
and/orid
in the query parameters.
:::
:::caution[Alert]
- Using
url
will delete all registered webhooks to this URL.
:::
Request
Query Params
id
number
optional
Webhook ID. requiredif
no URL passed. List of Webhook IDs can be found here.
url
string
optional
Webhook registered URL. requiredif
no ID is passed.
Request samples
Responses
Object Deleted Successfully.(202)
Record Not Found(404)
Error Validation(422)
Object Deleted Successfully.
HTTP Code: 202
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
{
"status": 202,
"success": true,
"data": {
"message": "The Object has been removed successfully",
"code": 202
}
}
Last modified: 2 months ago