This procedure describes how you first delete a collection's records and then delete the collection itself.
The procedure below uses soapUI to make the various API calls. However, you can create an Integrator ETL graph that performs the same actions.
<ingestChanges> <deleteRecords> <recordSpecifier>ResellerKey IS NOT NULL</recordSpecifier> </deleteRecords> </ingestChanges>
The EQL statement for the recordSpecifier element will use the collection's unique property key as a filter for the records in the collection. That is, all records that have a non-NULL assignment for the unique property key will be selected for deletion.
To delete a collection's records and then the collection itself:
Note that procedure does not delete the PDRs of the record attributes. The PDRs do not take up much memory, and having them in the Dgraph will make it easier to re-ingest the source records if you later decide to rebuild the collection. However, it is a good idea to check your search interfaces and attribute groups and remove any attributes that are no longer used.