智能体

删除已归档电脑

永久删除已归档的显式电脑及其文件与运行记录。

先调用「创建计算机」,用返回的计算机 ID 替换 cmp_123。

DELETE /agent/v1/computers/{computer_id}● 支持

请求参数

  • computer_idstring必填

    path: Computer id (cmp_...), as returned by computers.create or computers.list.

返回

200

Praxis 扩展:Managed Agents 没有持久 Computer 的删除生命周期。仅允许已归档的电脑;active 返回 400 COMPUTER_ACTIVE(先归档),先销毁电脑数据再删除登记,成功返回 id 和 type=computer_deleted;不存在或跨租户返回 404。

错误按 Anthropic 错误格式返回(type / message / request_id),参见 错误码

响应

HTTP 200

Computer result

application/json

名称类型说明
idstringId of the deleted computer.
typestringAlways `computer_deleted`. Confirms that a computer was deleted.