Edit

TeamHttpClientBase.UpdateTeamAsync Method

Definition

[Preview API] Update a team's name and/or description.

public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.Core.WebApi.WebApiTeam> UpdateTeamAsync(Microsoft.TeamFoundation.Core.WebApi.WebApiTeam teamData, string projectId, string teamId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member UpdateTeamAsync : Microsoft.TeamFoundation.Core.WebApi.WebApiTeam * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Core.WebApi.WebApiTeam>
override this.UpdateTeamAsync : Microsoft.TeamFoundation.Core.WebApi.WebApiTeam * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Core.WebApi.WebApiTeam>

Parameters

teamData
WebApiTeam
projectId
String

The name or ID (GUID) of the team project containing the team to update.

teamId
String

The name of ID of the team to update.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to