pulls
Archive a pull request
Archives a pull request. Closes, locks, and marks the pull request as archived. Only repository admins can archive pull requests. Archived pull requests are hidden from non-admin users.
put/repos/{owner}/{repo}/pulls/{pull_number}/archive
Path parameters
ownerstring required
The account owner of the repository. The name is not case sensitive.
repostring required
The name of the repository without the .git extension. The name is not case sensitive.
pull_numberinteger required
The number that identifies the pull request.
Response
Response