PivotalTrackerAPI/Domain/Model/PivotalTask.cs
/// <summary>
/// Deletes a task from a story without requiring a task instance
/// </summary>
/// <param name="user">The user to get the ApiToken from</param>
/// <param name="projectId">The project id</param>
/// <param name="storyId">The story id</param>
/// <param name="taskId">The task to delete</param>
Deletes a task from a story without requiring a task instance
Deletes a task from a story without requiring a task instance
public static void DeleteTask(PivotalUser user, int projectId, int storyId, int taskId)
    {
      string url = String.Format("{0}/projects/{1}/story/{2}/task/{3}?token={4}", PivotalService.BaseUrl, projectId, storyId, taskId, user.ApiToken);
      XmlDocument response = PivotalService.SubmitData(url, null, ServiceMethod.DELETE);
    }
public static void DeleteTask ( PivotalUser user , int projectId , int storyId , int taskId ) { string url = String . Format ( " " , PivotalService . BaseUrl , projectId , storyId , taskId , user . ApiToken ) ; XmlDocument response = PivotalService . SubmitData ( url , null , ServiceMethod . DELETE ) ; }
Deletes a task from a story without requiring a task instance
Deletes a task from a story without requiring a task instance
user
PivotalUser
The user to get the ApiToken from
The user to get the ApiToken from
projectId
int
The project id
The project id
storyId
int
The story id
The story id
taskId
int
The task to delete
The task to delete