PATCH
Switch PR checks or fix PRs on or off for a repository

Authorizations

Authorization
string
header
required

Authorization: Bearer twk_<prefix>_<secret>.

The prefix is public and safe to log: it is what identifies which credential leaked. The secret is never logged, never returned after creation, and stored only as a SHA-256 hash.

Path Parameters

id
string<uuid>
required

Body

application/json
pr_checks_enabled
boolean
fix_prs_enabled
boolean

Response

The updated settings, as GET returns them.