v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-133566112.5 KB
projects

Closes a pull request without merging.

post/v1/{+name}:close

Path parameters

namestring required

Required. The pull request to close. Format: projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}

Request body

ClosePullRequestRequest required

ClosePullRequestRequest is the request to close a pull request.

Response

Successful response