Skip to main content

Delete Webhook

Deletes a webhook. The store stops sending events to its URL.

HTTP Request​

  • URL: /webhook/{id}
  • Method: DELETE
  • Headers:
    • accessToken: Required. Your API access token.
  • Required scope: READ_WRITE_WEBHOOK

Path Parameters​

ParameterTypeDescription
idStringRequired. The ID of the webhook to delete.

cURL Example​

curl --location --request DELETE '<BASE_URL>/webhook/66e2b7c1a4f3d2e1c0b9a876' \
--header 'accessToken: <ACCESS_TOKEN>'

Response​

  • 200 OK: The webhook was deleted successfully.
  • 400 Bad Request: The access token is missing or invalid, the token does not have the required scope, or the ID is not valid.

Sample JSON Response​

{
"success": true,
"message": "WebHook deleted Successfully"
}

Response Details​

FieldTypeDescription
successBooleanWhether the request was successful.
messageStringConfirmation message.