Clean up the Google Cloud resources that you created during this tutorial.
Follow these steps to avoid incurring unexpected charges from some of the
resources.

## Delete Agent Platform resources

This section describes how delete the following project resources: endpoint,
model, and dataset.

### Delete your endpoint

1. In the Google Cloud console, in the Agent Platform section, go to
   the **Endpoints** page.

   [Go to the Endpoints page](https://console.cloud.google.com/agent-platform/endpoints)
2. Click your endpoint to open its details page.

3. On the row for your model, click **Undeploy model**.

4. In the **Undeploy model from endpoint** dialog, click **Undeploy**.

5. Return to the **Endpoints** tab, and find your endpoint. Click **View more**.

6. Click **Remove endpoint** and confirm the operation.

### Delete your model

1. In the Google Cloud console, in the Agent Platform section, go to
   the **Models** page.

   [Go to the Models page](https://console.cloud.google.com/agent-platform/models)
2. Find your model. On that row, click **View
   more**.

3. Click **Delete model** and confirm the operation.

### Delete your dataset

1. In the Google Cloud console, in the Agent Platform section, go to
   the **Datasets** page.

   [Go to the Datasets page](https://console.cloud.google.com/agent-platform/datasets)
2. Find your dataset. On that row, click **View
   more**.

3. Click **Delete dataset**.

## What's next

- To learn about additional ways to train ML models on Agent Platform,
  try one of the other [Agent Platform tutorials](https://docs.cloud.google.com/gemini-enterprise-agent-platform/machine-learning/tutorials.md.txt).

- Read an [overview of how Agent Platform
  works](https://docs.cloud.google.com/gemini-enterprise-agent-platform/machine-learning).