PivotalTrackerAPI/Domain/Model/PivotalProject.cs
/// <summary>
/// Removes a member from a project in Pivotal
/// </summary>
/// <param name="user">The user to get the ApiToken from</param>
/// <param name="project">The project to remove the person from</param>
/// <param name="member">The member to remove</param>
/// <returns>The member that was removed</returns>
Removes a member from a project in Pivotal
Removes a member from a project in Pivotal
public static PivotalMembership RemoveMember(PivotalUser user, PivotalProject project, PivotalMembership member)
    {
      string url = String.Format("{0}/projects/{1}/memberships/{2}?token={3}", PivotalService.BaseUrl, project.Id.GetValueOrDefault(), member.Id.GetValueOrDefault(), user.ApiToken);
      XmlDocument response = PivotalService.SubmitData(url, null, ServiceMethod.DELETE);
      return member;
    }
public static PivotalMembership RemoveMember ( PivotalUser user , PivotalProject project , PivotalMembership member ) { string url = String . Format ( " " , PivotalService . BaseUrl , project . Id . GetValueOrDefault ( ) , member . Id . GetValueOrDefault ( ) , user . ApiToken ) ; XmlDocument response = PivotalService . SubmitData ( url , null , ServiceMethod . DELETE ) ; return member ; }
Removes a member from a project in Pivotal
Removes a member from a project in Pivotal
The member that was removed
The member that was removed
user
PivotalUser
The user to get the ApiToken from
The user to get the ApiToken from
project
PivotalProject
The project to remove the person from
The project to remove the person from
member
PivotalMembership
The member to remove
The member to remove