Method: models.delete

Full name: projects.locations.models.delete

Deletes a Model.

A model cannot be deleted if anyEndpoint resource has aDeployedModel based on the model in itsdeployedModels field.

Endpoint

deletehttps://{service-endpoint}/v1beta1/{name}

Where{service-endpoint} is one of thesupported service endpoints.

Path parameters

namestring

Required. The name of the Model resource to be deleted. Format:projects/{project}/locations/{location}/models/{model}

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance ofOperation.

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 2025-06-27 UTC.