Add API endpoint for cancelling deploys