Cancel deployment
documentedCancel a deployment that is currently building.
PATCH /v12/deployments/{id}/cancelDeploymentsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.vercel.com/v12/deployments/{{$id}}/cancel?teamId={{$teamId}}&slug={{$slug}}" \
-X PATCH \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"reason": "{{$reason}}", "comment": "{{$comment}}"}'