deleteSpecifications #
Deletes validation specifications for a collection.
The request succeeds even if no specification exist for that collection.
Note: an empty specification is implicitly applied to all collections. In a way, "no specification set" means "all documents are valid".
Query Syntax #
HTTP #
URL: http://kuzzle:7512/<index>/<collection>/_specifications
Method: DELETE
Other protocols #
{
"index": "<index>",
"collection": "<collection>",
"controller": "collection",
"action": "deleteSpecifications",
}
Arguments #
collection
: collection nameindex
: index name
Response #
Returns a confirmation that the specifications are deleted:
{
"status": 200,
"error": null,
"index": "<index>",
"collection": "<collection>",
"action": "deleteSpecifications",
"controller": "collection",
"result": true
}
Possible errors #
Edit this page on Github(opens new window)