API Method /calendars/events/remove
Removes an event from a calendar.
Arguments
- authentication
- This method requires the usual authentication arguments.
- calendar_id string
- The unique ID of the calendar that the event will be removed from.
- event_id string
- The ID of the event that will be removed.
Example Request
Here's an example request URL:
http://api.evdb.com/rest/calendars/events/remove?...&calendar_id=C0-001-000002341-7&event_id=E0-001-000500898-1
Output Parameters
Output from this function is an XML block with the following constructs:
- status string
- ok
- messagestring
- Event removed successfully.
Example XML Response
<?xml version="1.0" encoding="UTF-8"?>
<response status="ok">
<message>Event removed successfully.</message>
</response>
Error Codes
This method may return these errors in an error document:
- Authentication error
- The specified user was not found or provided invalid credentials.
- Permission denied
- You do not have permission to modify this calendar
- Missing calendar_id
- The calendar_id field is mandatory.
- Missing event_id
- The event_id field is mandatory.