API Method /calendars/delete
Permanently deletes a calendar given an id (e.g. "C0-001-000000000-1").
Arguments
- authentication
- This method requires user authentication.
- id string
- The calendar ID to delete.
-
Example Request
Here's an example request URL:
http://api.evdb.com/rest/calendars/delete?...&id=C0-001-000002272-8
Output Parameters
Output from this function is an XML block with the following constructs.
- status string
- ok
- message string
- Calendar deleted successfully.
Example XML Response
<?xml version="1.0" encoding="UTF-8"?>
<response status="ok">
<message>Calendar deleted 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.
- Not found
- The calendar 'id' does not exist.
- Permission Denied
- You do not have permission to delete this calendar.