Method: projects.locations.models.delete

Deletes a model. If a model is already deployed, this only deletes the model in AutoML BE, and does not change the status of the deployed model in the production environment. Returns google.protobuf.Empty in the response field when it completes, and deleteDetails in the metadata field.

HTTP request

DELETE https://automl.googleapis.com/v1beta1/{name}

Path parameters

Parameters
name

string

Resource name of the model being deleted.

Authorization requires the following Google IAM permission on the specified resource name:

  • automl.models.delete

Request body

The request body must be empty.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.