DELETE /v1/calendar/calendars/{id}

Deletes a calendar specified by id, in one of conditions: - the authenticated user is the owner of the calendar. - for group calendars, the authenticated user has edit permission on the calendar. - if it is a shared calendar, the calendar is not shared anymore (but not deleted).

URL:

http://{domain_name}/{rest_context_name}/private/v1/calendar/calendars/{id}

Parameters:

  • Required (path parameters):

Parameter Description
id Identity of the calendar to be deleted.
  • Optional (query parameters): No

Request example:

 DELETE: http://localhost:8080/rest/private/v1/calendar/calendars/demo-defaultCalendarId

Response:

 HTTP status code: 200 if updated successfully, 404 if calendar not found,
            401 if the user does not have permissions, 503 if any error during save process.

Copyright ©2018. All rights reserved. eXo Platform SAS
blog comments powered byDisqus