Skip to main content
DELETE
/
api
/
v2
/
admin
/
webhooks
/
{tenantId}
Delete webhook
curl --request DELETE \
  --url https://faisalshop.mvp-apps.ae/api/v2/admin/webhooks/{tenantId} \
  --header 'Authorization: Bearer <token>'

Overview

Unsubscribe from webhook events. This will stop sending notifications to your webhook URL.

Authorization

  • User must be authenticated with a valid Bearer token
  • User must have ADMIN role in the tenant

Important Notes

  • Deleting a webhook is permanent
  • In-flight deliveries may still be attempted
  • Historical delivery records are preserved

Example Usage

curl -X DELETE \
  https://faisalshop.mvp-apps.ae/api/v2/admin/webhooks/123 \
  -H 'Authorization: Bearer YOUR_TOKEN'
await axios.delete(
  `/api/v2/admin/webhooks/${tenantId}`,
  {
    headers: {
      Authorization: `Bearer ${token}`
    }
  }
);

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

tenantId
integer
required

Tenant ID

Response

200

Webhook deleted