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

# Datapoints.DeleteIDs

```go theme={"system"}
func (datapointClient) DeleteIDs(
    ctx context.Context,
    collectionID uuid.UUID,
    datapointIDs []uuid.UUID,
) (int64, error)
```

Delete data points from a collection.

## Parameters

**collectionID** `uuid.UUID`

The id of the collection

**datapointIDs** `[]uuid.UUID`

The ids of the data points to delete from the collection

## Returns

The number of data points that were deleted.

```go Go theme={"system"}
numDeleted, err := client.Datapoints.DeleteIDs(ctx,
    collectionID,
    []uuid.UUID{
      uuid.MustParse("0195c87a-49f6-5ffa-e3cb-92215d057ea6"),
      uuid.MustParse("0195c87b-bd0e-3998-05cf-af6538f34957"),
    },
)
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.