Deletes several tasks.

POST

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.

Request

This endpoint expects an object.
taskIdslist of stringsRequired

List of tasks to be deleted.

deleteTimeTrackingsbooleanOptional

Set to true to delete also the related time trackings. If it is set to false the related time trackings are still there, but the project and task reference will be cleared. That will also happen if no request body is present.