/// <summary> /// UpdateAsync /// </summary> /// <param name="teamId"></param> /// <param name="request"></param> /// <returns></returns> public async Task <TeamResponse> UpdateAsync(string teamId, TeamsRequest request) { return(await PatchAsync <TeamsRequest, TeamResponse>($"teams/{teamId}", request).ConfigureAwait(false)); }
/// <summary> /// CreateAsync /// </summary> /// <param name="organizationName"></param> /// <param name="request"></param> /// <returns></returns> public async Task <TeamResponse> CreateAsync(string organizationName, TeamsRequest request) { return(await PostAsync <TeamsRequest, TeamResponse>($"organizations/{organizationName}/teams", request).ConfigureAwait(false)); }