跳到主要内容

Delete branch

DELETE 

/api/v5/repos/:owner/:repo/branches/:name

Request​

Path Parameters

    owner stringrequired

    Repository space address (address path of the enterprise, organization, or individual)

    repo stringrequired

    Repository path (path)

    name stringrequired

    Branch name

Query Parameters

    access_token stringrequired

    User authorization code

Responses​

Successful Response

Response Headers