apicheats.dev Cheat sheet Raw .md
POST

Try POST /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules — GitHub API

GitHub playground

Create a custom deployment protection rule on an environment

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
  • integration_id · optional · integer — The ID of the custom app that will be enabled on the environment.