AnthropicClaude 托管智能体
删除环境
删除一个执行环境及其相关配置。
DELETE
/anthropic/v1/environments/{environment_id}○ 未支持请求参数
environment_idstring必填path: 环境 ID(路径或查询参数)。
返回
501 平台还没有实现这个端点;调用会得到下面这个响应:
会话目前统一使用平台内置环境,还不能自定义创建或管理环境。调用会返回 501(not_implemented_error),不产生副作用,官方 SDK 不会重试。
错误按 Claude Managed Agents 格式返回,参见 错误码
响应
HTTP 200
Successful response
application/json
| 名称 | 类型 | 说明 |
|---|---|---|
| id | string | Environment identifier |
| type | string | The type of response |