Saltar al contingut principal
DELETE

Eliminar un esdeveniment

Scope:crm:events.write
https://api.holded.com/api/v2/events/{eventId}

Elimina permanentment un esdeveniment de calendari.

Paràmetres

Paràmetres de ruta

eventIdstringobligatori

ID de l'esdeveniment (ObjectId hexadecimal de 24 caràcters)

Petició

python
import requests

url = "https://api.holded.com/api/v2/events/{eventId}"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Accept": "application/json",
}

response = requests.delete(url, headers=headers)
print(response.json())

Respostes

Respostes exitoses

204Esdeveniment eliminat

Respostes d'error

401API key no vàlida o no proporcionadaapplication/json
403Permisos insuficientsapplication/json
404Esdeveniment no trobatapplication/json
429Límit de sol·licituds exceditapplication/json