Open Context Protocol is live! 🚀 Read the launch post
reposCancelPagesDeployment

reposCancelPagesDeployment

Cancel a GitHub Pages deployment

POST /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel HTTP/1.1

Parameters

{
  "owner": {
    "description": "The account owner of the repository. The name is not case sensitive.",
    "required": true,
    "location": "path",
    "type": "string"
  },
  "repo": {
    "description": "The name of the repository without the `.git` extension. The name is not case sensitive.",
    "required": true,
    "location": "path",
    "type": "string"
  },
  "pages_deployment_id": {
    "description": "The ID of the Pages deployment. You can also give the commit SHA of the deployment.",
    "required": true,
    "location": "path",
    "type": "string"
  }
}