Skip to main content
Assistants

删除智能体

删除指定的智能体。

DELETE
/assistants/{assistant_id}
cURL
curl --request DELETE \
  --url 'https://dashscope.aliyuncs.com/api/v1/assistants/{assistant_id}' \
  --header 'Authorization: Bearer <YOUR_API_KEY>'
{
  "id": "asst_0678aa33-43e2-4268-95e6-b0010f9f7937",
  "object": "assistant.deleted",
  "deleted": true,
  "request_id": "6af9320f-0430-9d01-b92f-d1beb6424dc5"
}

Authorizations

string
header
required

DashScope API Key,在控制台 API Key 页面(https://bailian.console.aliyun.com/settings/apikey)获取。请求头格式:Authorization: Bearer $DASHSCOPE_API_KEY。

Path Parameters

string
required

待删除的智能体 ID。

Response

200-application/json
Managed Agent API
Flow Agent API
RAG API
Connector API
框架集成
  • 框架