Deletes several tasks.
Deletes the specified tasks. By default, the related time entries of these tasks loose the relation to the deleted tasks. In order to delete the time entires as well, you need to set the ‘DeleteTimeTrackings’ property to true.
Required Permissions: The required permissions depend on the base type of the task. If the task is a project task,
write
permissions on the project-planning-data
feature are required. For a user’s private task, no special permissions are required.Returns
204 NoContent
if all tasks have been deleted successfully. Returns 207 MultiStatus
if at least one task could not be deleted, including the reasons.Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
taskIds
List of tasks to be deleted.
deleteTimeTrackings
Set to true to also delete the related time trackings. If it is set to false, the related time trackings will still be there, but the project and task reference will be cleared. This will also happen if no request body is present.
Response
No Content