pulls
Unarchive a pull request
Unarchives a pull request. Removes the archived flag from the pull request. Does not automatically reopen or unlock the pull request. Only repository admins can unarchive pull requests.
delete/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