Method: projects.models.delete

Caution: This is a deprecated version of the Cloud Machine Learning Engine API. Please use the latest Cloud ML Engine API instead.

Deletes a model.

You can only delete a model if there are no versions in it. You can delete versions by calling projects.models.versions.delete.

HTTP request

DELETE https://ml.googleapis.com/v1beta1/{name=projects/*/models/*}

The URL uses Google API HTTP annotation syntax.

Path parameters

Parameters
name

string

Required. The name of the model.

Authorization: requires Editor role on the parent project.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Operation.

Authorization

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Auth Guide.

Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

Cloud Machine Learning Engine (Cloud ML Engine)