provider pulls DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers
@utdk/github /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers
Remove requested reviewers from a pull request
Removes review requests from a pull request for a given set of users and/or teams.
owner path required
The account owner of the repository. The name is not case sensitive.
string
repo path required
The name of the repository without the `.git` extension. The name is not case sensitive.
string
pull_number path required
The number that identifies the pull request.
integer

Try it

Authentication
Configure credentials for GitHub v3 REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

pulls.removeRequestedReviewers
DELETE/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers
Removes review requests from a pull request for a given set of users and/or teams.

Parameters

required

The account owner of the repository. The name is not case sensitive.

required

The name of the repository without the `.git` extension. The name is not case sensitive.

required

The number that identifies the pull request.

Input

required

An array of user `login`s that will be removed.

An array of team `slug`s that will be removed.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import github from '@utdk/github';

await github.pulls.removeRequestedReviewers()