# DynamoDBStorage.DeleteEntriesAsync(string, IReadOnlyCollection&lt;Dictionary&lt;string, AttributeValue&gt;&gt;, CancellationToken)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.transactions.dynamodb/orleans.transactions.dynamodb.dynamodbstorage/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.transactions.dynamodb/orleans.transactions.dynamodb.dynamodbstorage/methods/)

[Source](https://github.com/dotnet/orleans/blob/8bc9fd244427351ad24ccc039a9e7642a42c1cc4/src/AWS/Shared/Storage/DynamoDBStorage.cs#L704)

```csharp
public Task DeleteEntriesAsync(string tableName, IReadOnlyCollection<Dictionary<string, AttributeValue>> toDelete, CancellationToken cancellationToken)
```

Deletes a batch of entries using the supplied cancellation token.

### Parameters

- `tableName` (`string`): The table name.
- `toDelete` (`IReadOnlyCollection<Dictionary<string, AttributeValue>>`): The keys of the entries to delete.
- `cancellationToken` (`CancellationToken`): The cancellation token.
