Encrypted Index
Delete Index
POST
Delete Index
Permanently delete an index and all its data.
When RBAC is not enabled (
Authentication
Required - admin (root) API key viaX-API-Key header. Per-user (cdbk_) keys are rejected with 403 — a per-user credential operates on data, not index lifecycle:
CYBORGDB_SERVICE_ROOT_KEY unset), no header is required.
Request Body
Response
Exceptions
403 Forbidden
403 Forbidden
Authenticated with a per-user (
cdbk_) key — this operation requires the admin (root) API key404 Not Found
404 Not Found
Index not found
422 Unprocessable Entity
422 Unprocessable Entity
Invalid request parameters
500 Internal Server Error
500 Internal Server Error
Internal server error
Example Usage
Confirmation Example
Data Removal
When an index is deleted, the following data is permanently removed:- Index structure: All index files and metadata
- Vector embeddings: All stored vector data
- Item contents: All associated content data
- Metadata: All key-value metadata pairs
- Training data: Any cached training information
Use Cases
- Cleanup: Remove outdated or test indexes
- Resource management: Free up storage and memory
- Development lifecycle: Clean up development environments
- Data governance: Remove indexes containing deprecated data