Cancel long running deployment on App Platform

I’m not sure what went wrong, but I have a deployment that has been running for 15 minutes and will not stop. It is just hanging. Is there a way to kill a deployment so that it unblocks pending ones?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Found it:

curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer XXXX" "{app_id}/deployments/{deployment_id}/cancel" 

I grabbed the UUIDs from the URL