Language
Edit

GitHttpClientBase.DeletePullRequestLabelsAsync Method

Definition

Overloads

Name Description
DeletePullRequestLabelsAsync(Guid, Int32, String, String, Object, CancellationToken)

[Preview API] Removes a label from the set of those assigned to the pull request.

DeletePullRequestLabelsAsync(String, Int32, String, String, Object, CancellationToken)

[Preview API] Removes a label from the set of those assigned to the pull request.

DeletePullRequestLabelsAsync(Guid, Guid, Int32, String, String, Object, CancellationToken)

[Preview API] Removes a label from the set of those assigned to the pull request.

DeletePullRequestLabelsAsync(Guid, String, Int32, String, String, Object, CancellationToken)

[Preview API] Removes a label from the set of those assigned to the pull request.

DeletePullRequestLabelsAsync(String, Guid, Int32, String, String, Object, CancellationToken)

[Preview API] Removes a label from the set of those assigned to the pull request.

DeletePullRequestLabelsAsync(String, String, Int32, String, String, Object, CancellationToken)

[Preview API] Removes a label from the set of those assigned to the pull request.

DeletePullRequestLabelsAsync(Guid, Int32, String, String, Object, CancellationToken)

[Preview API] Removes a label from the set of those assigned to the pull request.

public virtual System.Threading.Tasks.Task DeletePullRequestLabelsAsync(Guid repositoryId, int pullRequestId, string labelIdOrName, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member DeletePullRequestLabelsAsync : Guid * int * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeletePullRequestLabelsAsync : Guid * int * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

repositoryId
Guid

The repository ID of the pull request’s target branch.

pullRequestId
Int32

ID of the pull request.

labelIdOrName
String

The name or ID of the label requested.

projectId
String

Project ID or project name.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

DeletePullRequestLabelsAsync(String, Int32, String, String, Object, CancellationToken)

[Preview API] Removes a label from the set of those assigned to the pull request.

public virtual System.Threading.Tasks.Task DeletePullRequestLabelsAsync(string repositoryId, int pullRequestId, string labelIdOrName, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member DeletePullRequestLabelsAsync : string * int * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeletePullRequestLabelsAsync : string * int * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

repositoryId
String

The repository ID of the pull request’s target branch.

pullRequestId
Int32

ID of the pull request.

labelIdOrName
String

The name or ID of the label requested.

projectId
String

Project ID or project name.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

DeletePullRequestLabelsAsync(Guid, Guid, Int32, String, String, Object, CancellationToken)

[Preview API] Removes a label from the set of those assigned to the pull request.

public virtual System.Threading.Tasks.Task DeletePullRequestLabelsAsync(Guid project, Guid repositoryId, int pullRequestId, string labelIdOrName, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member DeletePullRequestLabelsAsync : Guid * Guid * int * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeletePullRequestLabelsAsync : Guid * Guid * int * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

project
Guid

Project ID

repositoryId
Guid

The repository ID of the pull request’s target branch.

pullRequestId
Int32

ID of the pull request.

labelIdOrName
String

The name or ID of the label requested.

projectId
String

Project ID or project name.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

DeletePullRequestLabelsAsync(Guid, String, Int32, String, String, Object, CancellationToken)

[Preview API] Removes a label from the set of those assigned to the pull request.

public virtual System.Threading.Tasks.Task DeletePullRequestLabelsAsync(Guid project, string repositoryId, int pullRequestId, string labelIdOrName, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member DeletePullRequestLabelsAsync : Guid * string * int * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeletePullRequestLabelsAsync : Guid * string * int * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

project
Guid

Project ID

repositoryId
String

The repository ID of the pull request’s target branch.

pullRequestId
Int32

ID of the pull request.

labelIdOrName
String

The name or ID of the label requested.

projectId
String

Project ID or project name.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

DeletePullRequestLabelsAsync(String, Guid, Int32, String, String, Object, CancellationToken)

[Preview API] Removes a label from the set of those assigned to the pull request.

public virtual System.Threading.Tasks.Task DeletePullRequestLabelsAsync(string project, Guid repositoryId, int pullRequestId, string labelIdOrName, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member DeletePullRequestLabelsAsync : string * Guid * int * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeletePullRequestLabelsAsync : string * Guid * int * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

project
String

Project ID or project name

repositoryId
Guid

The repository ID of the pull request’s target branch.

pullRequestId
Int32

ID of the pull request.

labelIdOrName
String

The name or ID of the label requested.

projectId
String

Project ID or project name.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

DeletePullRequestLabelsAsync(String, String, Int32, String, String, Object, CancellationToken)

[Preview API] Removes a label from the set of those assigned to the pull request.

public virtual System.Threading.Tasks.Task DeletePullRequestLabelsAsync(string project, string repositoryId, int pullRequestId, string labelIdOrName, string projectId = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member DeletePullRequestLabelsAsync : string * string * int * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeletePullRequestLabelsAsync : string * string * int * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

project
String

Project ID or project name

repositoryId
String

The repository ID of the pull request’s target branch.

pullRequestId
Int32

ID of the pull request.

labelIdOrName
String

The name or ID of the label requested.

projectId
String

Project ID or project name.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to