Send feedback Undeploy a model and delete the endpoint Stay organized with collections Save and categorize content based on your preferences. Use one of the following methods to undeploy a model and delete the endpoint.
Note: You can only delete the endpoint after all models have been undeployedfrom it. Google Cloud console Undeploy the model as follows:
In the Google Cloud console, in the Vertex AI section, goto theEndpoints page.
Go to the Endpoints page
Click the name and version ID of the model you want to undeploy to openits details page.
On the row for your model, clickmore_vert Actions , and then clickUndeploy model from endpoint .
In theUndeploy model from endpoint dialog, clickUndeploy .
To delete additional models, repeat the preceding steps.
Optional: Delete the online inference endpoint as follows:
In the Google Cloud console, in theVertex AI section,go to theOnline prediction page.
Go to Online prediction
Select the endpoint.
To delete the endpoint, clickmore_vert Actions , and then clickDelete endpoint .
gcloud List the endpoint IDs for all endpoints in your project:
gcloud ai endpoints list\ --project= PROJECT_ID \ --region= LOCATION_ID ReplacePROJECT_ID with your project name andLOCATION_ID with the region where you are usingVertex AI.
List the model IDs for the models that are deployed to an endpoint:
gcloud ai endpoints describeENDPOINT_ID \ --project= PROJECT_ID \ --region= LOCATION_ID ReplaceENDPOINT_ID with the endpoint ID.
Undeploy a model from the endpoint:
gcloud ai endpoints undeploy-modelENDPOINT_ID \ --project= PROJECT_ID \ --region= LOCATION_ID \ --deployed-model-id= DEPLOYED_MODEL_ID ReplaceDEPLOYED_MODEL_ID with the model ID.
Optional: Delete the online inference endpoint:
gcloud ai endpoints deleteENDPOINT_ID \ --project= PROJECT_ID \ --region= LOCATION_ID Send feedback
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License , and code samples are licensed under theApache 2.0 License . For details, see theGoogle Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-02-18 UTC.
Need to tell us more? [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-02-18 UTC."],[],[]]