Delete a Calendar Event

DELETE/api/calendar/{id}

Headers

FieldTypeDescription
authtoken String Authentication token, generated from admin area

Parameters

FieldTypeDescription
ID Number ID for data deletion.
curl -X DELETE "https://yoursite.com/api/calendar/123" \
  -H "authtoken: YOUR_API_TOKEN"

Success-Response:

HTTP/1.1 200 OK
{
  "status": true,
  "message": "Data Deleted Successfully"
}

Error-Response:

HTTP/1.1 404 Not Found
{
  "status": false,
  "message": "Data Delete Fail"
}
MethodDELETE
Path/api/calendar/{id}
GroupCalendar Events
Sincev0.3.0
Defined inmodules/api/controllers/Calendar.php