delete #
Deletes a collection.
Query Syntax #
HTTP #
URL: http://kuzzle:7512/<index>/<collection>
Method: DELETE
Other protocols #
{
"index": "<index>",
"collection": "<collection>",
"controller": "collection",
"action": "delete"
}
Arguments #
collection
: collection nameindex
: index name
Response #
Returns a confirmation that the collection is deleted:
{
"status": 200,
"error": null,
"index": "<index>",
"collection": "<collection>",
"controller": "collection",
"action": "delete",
"requestId": "<unique request identifier>",
"result": null
}
Possible errors #
Edit this page on Github (opens new window)