本文介绍如何删除指定 ID 的模型请求。
参数名 | 数据类型 | 是否必选 | 参数说明 |
|---|---|---|---|
response_id | string | 必选 | 待检索的响应 id。 |
参数名 | 数据类型 | 参数说明 |
|---|---|---|
id | string | 待删除请求的id。 |
object | string | 固定为 response。 |
deleted | boolean | 取值范围:
|
request
curl -X DELETE https://operator.las.cn-beijing.volces.com/api/v1/responses/resp_0217****** \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $LAS_API_KEY"
response
{ "id": "resp_0217******", "object": "response", "deleted": true }