Deletes a task specified by id, in one of conditions: the calendar of the 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 task is delegated to the user; OR the calendar has been shared with the user or with a group of the user.
URL:
http://{domain_name}/{rest_context_name}/private/v1/calendar/tasks/{id}
Parameters:
Required (path parameters):
Parameter | Description |
---|---|
id | Identity of the task. |
Optional (query parameters): No
Request example:
DELETE: http://localhost:8080/rest/private/v1/calendar/tasks/Task123
Response:
HTTP status code: 200 if deleted successfully, 404 if task not found, 401 if the user does not have permission, 503 if any error during save process.