SDK
SDK Jvm v1.x
2

deleteSpecifications #

Deletes validation specifications for a collection.


:::: tabs ::: tab Java

Arguments #

  public CompletableFuture<Void> deleteSpecifications(
      final String index,
      final String collection)

ArgumentsTypeDescription
index
String
Index name
collection
String
Collection name

Returns #

Returns a CompletableFuture<Void>.

Usage #

kuzzle
  .getCollectionController()
  .deleteSpecifications("nyc-open-data", "yellow-taxi")
  .get();

::: ::: tab Kotlin

Arguments #

fun deleteSpecifications(
      index: String,
      collection: String
    ): CompletableFuture<Void>
ArgumentsTypeDescription
index
String
Index name
collection
String
Collection name

Returns #

Returns a CompletableFuture<Void>.

Usage #

kuzzle
  .collectionController
  .deleteSpecifications("nyc-open-data", "yellow-taxi")
  .get();

::: ::::