Delete A List of Tasks

Delete A List of Tasks

This end point will allow you to deleted multiple tasks at a time. Only Tasks that are not assigned, assigned to a Team or a Driver can be deleted. In-progress Tasks and Completed/Failed Tasks cannot be deleted.

{
    "tasks":[
        "NGfCixTxAe6TyVxvMxEPAE~9",
        "lCkJLRkrfmZAd79mpdJ5fHu8"
    ]
}
{
    "status": "success",
    "totalTasksRemoved": 2,
    "totalTasksAlreadyRemoved": 0
}
❗

Response

This endpoint does not provide the a list of undeleted tasks. If the totalTasksRemoved removed is less than the number of tasks provided, you would need to identify the failed deletion by iterating through the list of the requested deletions to find out which one is not deleted.