repos
Cancel a GitHub Pages deployment
Cancels a GitHub Pages deployment.
The authenticated user must have write permissions for the GitHub Pages site.
post/repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel
Path parameters
ownerstring required
The account owner of the repository. The name is not case sensitive.
repostring required
The name of the repository without the .git extension. The name is not case sensitive.
The ID of the Pages deployment. You can also give the commit SHA of the deployment.
Response
A header with no content is returned.