leaveFireteamThread function

Future<ServerResponse<ForumRecruitmentDetail>> leaveFireteamThread (HttpClient http, LeaveFireteamThreadParams params)

Allows a user to remove themselves from a recruitment thread fireteam slot. Returns the new state of the fireteam.

Implementation

Future<ServerResponse<ForumRecruitmentDetail>> leaveFireteamThread(HttpClient http, LeaveFireteamThreadParams params) {
  return http.request(new HttpClientConfig(
    'POST',
    "https://www.bungie.net/Platform/Forum/Recruit/Leave/${params.topicId}/",
    null,
    null
    ));
}