Returns
Promise<{ status, message }>, e.g. { status: 'success', message: "Index 'temporary-index' deleted successfully" }.
Exceptions
CyborgDBNotFoundError
CyborgDBNotFoundError
The index doesn’t exist, for example because it was already deleted (HTTP
404).CyborgDBAuthenticationError
CyborgDBAuthenticationError
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).CyborgDBServiceError
CyborgDBServiceError
The service returns
5xx.