Masumi Logo

/webhooks

Delete a webhook endpoint

DELETE
/webhooks
token<token>

API key authentication via header (token)

In: header

Request Body

application/json

Webhook deletion request

webhookId*string

The ID of the webhook to delete

Response Body

application/json

curl -X DELETE "https://loading/./../api/v1/webhooks" \  -H "Content-Type: application/json" \  -d '{    "webhookId": "webhook_endpoint_id"  }'
{
  "status": "Success",
  "data": {
    "id": "webhook_endpoint_id",
    "url": "https://your-server.com/webhook",
    "name": "My Payment Webhook",
    "deletedAt": "1970-01-20T20:00:36.260Z"
  }
}
Empty
Empty
Empty
Empty
Masumi Kanji