跳转到主要内容
Environment

删除 Environment

硬删除环境

DELETE
/api/v1/agentstudio/environments/{environment_id}
cURL
curl --request DELETE \
  --url 'https://dashscope.aliyuncs.com/api/v1/agentstudio/environments/{environment_id}' \
  --header 'Authorization: Bearer <YOUR_API_KEY>'
{
  "id": "env_xxx",
  "type": "environment_deleted",
  "request_id": "xxx"
}

鉴权

string
header
必填

DashScope API Key

路径参数

string
必填

环境 ID

响应

200-application/json
string

被删除的环境 ID

string

固定为 environment_deleted

string

本次请求的唯一标识