---
title: "Dataset.delete_collection"
description: "Delete a collection in the dataset."
image: "https://tilebox.com/images/tilebox-docs-social-preview.png"
---

> Documentation Index
> Fetch the complete documentation index at: https://tilebox.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Dataset.delete_collection

import { Fragment } from "astro/jsx-runtime";

import ApiReference from "@docs/components/ApiReference.astro";

import ParamField from "@docs/components/ParamField.astro";

```python
def Dataset.delete_collection(collection: str | UUID | CollectionClient) -> None
```

Delete a collection in the dataset.

## Parameters

**collection**

type: str | UUID | CollectionClient

The collection to delete. Can be specified by name, id, or as a collection object.

<h2 id="request-example">Usage example</h2>

```python
dataset.delete_collection("My-collection")
```

Source: https://tilebox.com/docs/api-reference/python/tilebox.datasets/Dataset.delete_collection/index.mdx
