Delete an event
Scope: crm:events.write https://api.alladdin.com/api/v2/events/{eventId}
Permanently deletes a CRM event. This action cannot be undone.
Parameters
Path parameters
eventId string required
Event ID (24-char hex ObjectId)
Request
import requests
url = "https://api.alladdin.com/api/v2/events/{eventId}"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Accept": "application/json",
}
response = requests.delete(url, headers=headers)
print(response.json())Responses
Success responses
204 Resource deleted
Error responses
401 Invalid or missing API key application/json 403 Insufficient permissions application/json 404 Event not found application/json 429 Rate limit exceeded application/json
