Drop all in a multi-tenant DGraph

For shared backends, drop all is not supported directly. For dropping the data and types, you’d need to call alter with '{"drop_op": "ATTR", "drop_value": "counter.val"}' for each predicate and type you want to drop.

In Dgraph Cloud, there’s an API to do this in a single API call (the same API the UI uses).

2 Likes