Method: projects.locations.models.delete

Deletes a model. 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.