DELETE /v1/searchIndexes/{id}
Delete a Search Index
Delete a search index by ID or name, with soft/hard delete options
DELETE
DELETE /v1/searchIndexes/{id}
Documentation Index
Fetch the complete documentation index at: https://openmetadata-codex-audit-docs-codebase-alignment.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Delete a Search Index
Delete a search index by ID or fully qualified name. Supports soft delete (default), hard delete, and restore operations.Delete by ID
UUID of the search index to delete.
Recursively delete child entities.
Permanently delete the search index. If
false, the search index is soft-deleted and can be restored.Delete by Name
UseDELETE /v1/searchIndexes/name/{fqn} to delete by fully qualified name.
Fully qualified name of the search index (e.g.,
elasticsearch_sample.table_search_index).Recursively delete child entities.
Permanently delete the search index.
Restore a Soft-Deleted Search Index
UsePUT /v1/searchIndexes/restore to restore a soft-deleted search index.
UUID of the soft-deleted search index to restore.
DELETE /v1/searchIndexes/{id}
Returns
Soft delete returns the search index object withdeleted: true. Hard delete returns no content (204). Restore returns the restored search index object.
Error Handling
| Code | Error Type | Description |
|---|---|---|
401 | UNAUTHORIZED | Invalid or missing authentication token |
403 | FORBIDDEN | User lacks permission to delete this search index |
404 | NOT_FOUND | Search index with given ID or FQN does not exist |