deleteSpecifications #
Deletes validation specifications for a collection.
:::: tabs ::: tab Java
Arguments #
public CompletableFuture<Void> deleteSpecifications(
final String index,
final String collection)
Arguments | Type | Description |
---|---|---|
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>
Arguments | Type | Description |
---|---|---|
index | String | Index name |
collection | String | Collection name |
Returns #
Returns a CompletableFuture<Void>
.
Usage #
kuzzle
.collectionController
.deleteSpecifications("nyc-open-data", "yellow-taxi")
.get();
::: ::::
Edit this page on Github(opens new window)