DELETE /v1/calendar/attachments/{id}

Deletes an attachment (of an event/task) specified by attachment id, in one of conditions: The calendar of the event/task is public, OR the authenticated user is the owner of the calendar, OR the user belongs to the group of the calendar, OR the user is a participant of the event or is delegated to the task, OR the calendar has been shared with the user or with a group of the user.




  • Required (path parameters):

Parameter Description
id Identity of the attachment.
  • Optional (query parameters): No

Request example:

 DELETE: http://localhost:8080/rest/private/v1/calendar/attachments/att123


 HTTP status code:
            200 if deleted successfully, 404 if attachment not found,
            401 if the user does not have permission, 503 if any error during save process.

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