Remove an Automatic Version Deletion

To remove the automatic version deletion configuration, use the removeAutomaticVersionDeletion method of AdminApi provided by the data-client module. The only required parameter is a catalog HRN:

Scala
Java
val catalogHrn = HrnProvider.toDataHrn("example-catalog-id")
DataClient().adminApi() removeAutomaticVersionDeletion (catalogHrn)
AdminApi adminApi = new DataClient(actorSystem()).adminApi();
adminApi.removeAutomaticVersionDeletion(catalogHrn);

Note

Find out about automatic version deletion: Create a Catalog.

results matching ""

    No results matching ""