Reset the Status of a Pull Request Approval
PATCH/api/v5/repos/:owner/:repo/pulls/:number/assignees
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
Query Parameters
access_token stringrequired
User authorization code
- application/json
Body
reset_allboolean
Whether to reset all approvers, default: false, only effective for administrators
Responses
- 200
Response Headers
- application/json
- Schema
- Example (auto)
Schema
object
{}