Core
API v1.x
1

You are currently looking at the documentation of a previous version of Kuzzle. We strongly recommend that you use the latest version. You can also use the version selector in the top menu.

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 name
  • index: 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 #