HomeGuidesAPI ReferenceChangelogDiscussions
HomeLog In
Guides

Delete Webhook

❗️

Notice

Please contact SHOPLINE Merchant Success team to enable this function.
請向SHOPLINE Merchant Success團隊申請開啟此功能。

Function

To delete a specific subscribed webhook by id
以id刪除一個已訂閱的webhook

URL

DELETE <<api_domain>>/v1/webhooks/:id

Request parameters

ParameterTypeDescriptionExample
:id
*required
StringWebhook ID5fcf3c84d9454d0038be2f43

Response example

OK
{
    "message": "Unable to process the changes [\"webhookId\" with value \"5fcf3c84d9454d0038be2f43w\" fails to match the required pattern: /^[0-9a-fA-F]{24}$/]"
}