apicheats.dev Cheat sheet Raw .md
PUT

Try PUT /orgs/{org}/code-security/configurations/{configuration_id}/defaults — GitHub API

GitHub playground

Set a code security configuration as a default 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
  • default_for_new_repos · optional · string — Specify which types of repository this security configuration should be applied to by default.