Skip to content
Webhooks
  1. REST reference
  2. Account
  3. Webhooks

Delete a webhook

DELETE/public/v1/webhooks/{webhook_id}

Remove a subscription.

PremiumAnnualLifetime
Test deliveries only today. Subscriptions can be created, edited and tested, but no live events are sent yet. The event names are reserved for when live delivery starts.

Request

curl -X DELETE "https://api.tradeeasyai.net/public/v1/webhooks/<webhook_id>" \
  -H "X-API-Key: $TRADEEASY_API_KEY"

Response shape

Field names and types; no sample values.

200 · application/json
{
  "success": true,
  "data": {
    …
  },
  "meta": { "timestamp": "<string>", "request_id": "<string>" }
}

Parameters#

  • webhook_idstring · UUIDpathRequired

    The subscription id.

Response fields#

  • deleted · idboolean · string

    Confirmation.

Errors#

  • 400INVALID_ID

    Not a UUID.

  • 401detail

    Missing, invalid or revoked key, or a locked account. FastAPI {"detail": …} body, not the envelope.

  • 403detail

    The plan does not include the REST API, or the subscription is not active.

  • 404NOT_FOUND

    No subscription of yours has that id.

  • 429RATE_LIMIT_EXCEEDED

    Per-key minute or day bucket spent. Honour Retry-After.

  • 500DELETE_FAILED

    Our side. Retry with backoff.