apicheats.dev Cheat sheet Raw .md
PATCH

Try PATCH /orgs/{org}/code-scanning/ai-scan — GitHub API

GitHub playground

Update the AI Scan setting for an organization

Credentials

Kept in this tab only. Requests go through apicheats.dev's same-origin proxy straight to api.github.com; the proxy stores and logs nothing about them.

Headers

Path

Body application/json

1 body fields
  • pr_scan · optional · string — Whether AI Scan is enabled for the organization. Organization respects enterprise policy. Disabled organizations prevent repositories from enabling AI Scan. Enabled organizations enable AI Scan for their repositories, but individual repositories can opt out.