DeleteSpecifications #
Deletes the validation specifications associated with the collection.
Arguments #
DeleteSpecifications(index string, collection string, options types.QueryOptions) error
Arguments | Type | Description |
---|---|---|
index | string | Index name |
collection | string | Collection name |
options | types.QueryOptions | Query options |
options #
Additional query options
Property | Type | Description | Default |
---|---|---|---|
queuable | bool | Make this request queuable or not | true |
Return #
Return an error or nil
if collection successfully created.
Usage #
err := kuzzle.Collection.DeleteSpecifications("nyc-open-data", "yellow-taxi", nil)
if err != nil {
log.Fatal(err)
} else {
fmt.Println("Success")
}
Edit this page on Github(opens new window)