跳到主要内容

Delete Pull Request Labels

DELETE 

/api/v5/repos/:owner/:repo/pulls/:number/labels/:name

Request​

Path Parameters

    owner stringrequired

    Repository space address (organization or individual's address path)

    repo stringrequired

    Repository path (path)

    number integerrequired

    The ordinal number of the PR in this repository, i.e., which PR it is.

    Example: 0
    name stringrequired

    Tag names (for batch deletion, separate with English commas, e.g., bug,feature)

Query Parameters

    access_token stringrequired

    User authorization code

Responses​

Response Headers
    Schema
      object