API Reference
Log In
API Reference

Dismiss one open pull request from PR Health

Dismisses an open pull request with a reason: NOT_WASTE, WILL_CLOSE, DUPLICATE or OTHER. A dismissed or snoozed pull request leaves every open-row figure of PR Health (the report, the engineers page, the drawer's buckets and the pull-request list) for everyone on the team, and is listed with pull-requests?triaged=ONLY. A record is in force while the pull request is open and it is either dismissed, or snoozed with snoozedUntil after today in UTC: a snooze until 6 Oct hides the pull request through 5 Oct UTC, and nothing runs when it ends. Closed and merged history never changes. A second dismiss or snooze on the same pull request replaces the first, with no undo needed. Only admins of the organization may write; everyone who can read PR Health sees the state. Pass teamId as a query parameter to write the team the page shows. repoName and prNumber must name an open pull request of the organization exactly as PR Health returns it; anything else is a 404.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string

Team to read or write, as the team's hashid (the same id as /v2/api/teams/{id}). The caller must belong to it or be able to read it: 403 otherwise, 404 when no such team exists. An API key may only name its own organization. Omit it for the API key's organization, or for a signed-in user the first organization they belong to.

Body Params
string | null
string | null
int32 | null
string | null
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
*/*