Skip to main content
PATCH
Change who may watch a pull request's proof

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

pullRequestID
string<uuid>
required

Query Parameters

org_id
string<uuid>

The pull request's owning organization to act in: the org_id the PullRequest carries. Omitted, getPullRequest and the review page's operations (its review, file, head snapshot and stack) act in the owning organization getPullRequest ranks first, and a console operation refuses with 422 org_id_required when more than one of the caller's organizations owns the pull request.

Body

application/json
visibility
enum<string>
Available options:
public,
org

Response

OK

can_hide
boolean
required
published
object[]
required
pull_request
object
required
review_runs
object[]
required
reviewer_confirmations
object[]
required
shown_claims
object[]
required
visibility
object
required