# ZooKeeperBasedMembershipTable.DeleteMembershipTableEntriesAsync(string, CancellationToken)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.clustering.zookeeper/orleans.runtime.membership.zookeeperbasedmembershiptable/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.clustering.zookeeper/orleans.runtime.membership.zookeeperbasedmembershiptable/methods/)

[Source](https://github.com/dotnet/orleans/blob/8bc9fd244427351ad24ccc039a9e7642a42c1cc4/src/Orleans.Clustering.ZooKeeper/ZooKeeperBasedMembershipTable.cs#L451-L452)

```csharp
public Task DeleteMembershipTableEntriesAsync(string clusterId, CancellationToken cancellationToken = default(CancellationToken))
```

Deletes all table entries of the given clusterId

### Parameters

- `clusterId` (`string`): The cluster whose entries are deleted.
- `cancellationToken` (`CancellationToken`): A token which cancels the operation.

### Returns

A task representing the deletion operation.
