Delete a task
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The resourceSlug is a url parameter of the teamId associated with the user. Anywhere the resourceSlug is used can be interpreted as a teamId Mongodb Object id, unique identifier, length of 24 characters fitting the following regex; [a-f0-9]{24}
the taskId of the agent that will be deleted
Successful operation, redirect to '/{resourceSlug}/tasks'. (this needs to be modified to correctly display dynamicResponse)