# When can I delete an unused Azure ML managed online deployment?

Exam: AI-300 — Operationalizing Machine Learning and Generative AI Solutions
Knowledge domain: Implement machine learning model lifecycle and operations
Updated: 2026-11-25T04:35:33.037285+00:00
HTML: https://learningpathx.com/faq/AI-300/ai300-retire-azure-ml-online-deployment.html

## Also asked as

- What should I verify before removing an Azure Machine Learning online deployment?
- How do I clean up a retired Azure ML online candidate without losing the current serving path?

Delete the unused deployment only after confirming it is no longer needed for recovery and has zero live allocation. Clear any mirroring to it, stop the test clients and verify the intended surviving deployment still serves ordinary requests. A deployment can consume provisioned resources even when its traffic share is zero.

Verify the exact endpoint and deployment names before acting. Removing one deployment leaves the other deployments in place. Deleting the endpoint removes its deployments as well. Confirm deletion has completed and account for separately retained models, environments and logs.

### Microsoft Learn

* [Safe rollout for online endpoints - Azure Machine Learning](https://learn.microsoft.com/en-us/azure/machine-learning/how-to-safely-rollout-online-endpoints?view=azureml-api-2)
* [Online endpoints for real-time inference - Azure Machine Learning](https://learn.microsoft.com/en-us/azure/machine-learning/concept-endpoints-online?view=azureml-api-2)

Source: [AI-300: Lab: Testing, Rolling Out, and Reverting an Online Model](https://learningpathx.com/news/ai-300-lab-testing-rolling-out-and-reverting-an-online-model.html)
