cURL
curl --request DELETE \ --url https://api.nitrosend.com/v1/my/events/{id} \ --header 'Authorization: Bearer <token>'
{ "id": 123, "account_id": 123, "contact_id": 123, "user_id": 123, "event": "<string>", "amount": 123, "data": {}, "idempotency_key": "<string>", "resource_uid": "<string>", "resource_name": "<string>", "resource_url": "<string>", "test": true, "generated": true, "chain_depth": 123, "ip": "<string>", "user_agent": "<string>", "browser": "<string>", "os": "<string>", "device_type": "<string>", "referrer": "<string>", "utm_source": "<string>", "utm_medium": "<string>", "utm_term": "<string>", "utm_content": "<string>", "utm_campaign": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }
API key (nskey_live_...) or JWT token. API key is checked first; if not found, falls back to Devise JWT authentication.
nskey_live_...
Deleted event