You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

OrientDB HTTP API是否支持删除数据库功能?官方文档未找到相关说明

Does OrientDB HTTP API Support Database Deletion?

Yes, OrientDB's HTTP API does include functionality to delete a database—even though it’s easy to overlook in the 2.2.x REST documentation, as it’s not placed in a dedicated, highly visible section.

Here’s how you can perform this operation:

  • Send a DELETE request to the endpoint: /databases/<your-database-name>
  • You’ll need to authenticate with a user account that has sufficient permissions (such as root or a database owner), usually via Basic Auth.
  • Example curl command to execute the deletion:
    curl -X DELETE -u root:your-secure-password http://localhost:2480/databases/my_target_db
    

Key Notes:

  • This action is irreversible—be absolutely certain you’ve backed up any critical data before running it.
  • In a distributed OrientDB cluster, you may need to verify cluster synchronization after deletion, but the core delete operation works identically on single nodes.
  • While the 2.2.x docs don’t highlight this endpoint prominently, it’s fully functional in that version.

内容的提问来源于stack exchange,提问作者Tarun Patel

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.25 03:22:57