Skip to main content
Deleting an index is irreversible.
Deletes the index and all of its data from the CyborgDB service.

Returns

Promise<{ status, message }>, e.g. { status: 'success', message: "Index 'temporary-index' deleted successfully" }.

Exceptions

The index doesn’t exist, for example because it was already deleted (HTTP 404).
The indexKey or apiKey is invalid (HTTP 401), or the client is using a per-user key: deleting an index requires the root key (HTTP 403).
The service returns 5xx.
See Errors for the full hierarchy.

Example Usage