apicheats.dev Cheat sheet Raw .md
POST

Try POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments — GitHub API

GitHub playground

Review pending deployments for a workflow run

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

3 body fields
  • environment_ids · required · integer[] — The list of environment ids to approve or reject
  • state · required · string — Whether to approve or reject deployment to the specified environments.
  • comment · required · string — A comment to accompany the deployment review