Method: projects.locations.datasets.delete

Deletes a dataset and all of its contents. Returns empty response in the response field when it completes, and deleteDetails in the metadata field.

HTTP request

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

Path parameters

Parameters
name

string

The resource name of the dataset to delete.

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

  • automl.datasets.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.