删除智能体访问端点
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求语法
DELETE /2025-09-10/agents/runtimes/{agentRuntimeId}/endpoints/{agentRuntimeEndpointId} HTTP/1.1
路径参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| agentRuntimeId |
string |
是 |
智能体运行时 ID |
12345678-1234-1234-1234-123456789abc |
| agentRuntimeEndpointId |
string |
是 |
智能体运行时端点 ID |
87654321-4321-4321-4321-210987654321 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
当前API无需请求参数
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
AgentRuntimeEndpointResult |
返回删除结构体的结果 |
示例
正常返回示例
JSON格式
{
"code": "",
"requestId": "",
"data": {
"agentRuntimeId": "ar-1234567890abcdef",
"agentRuntimeEndpointId": "are-1234567890abcdef",
"agentRuntimeEndpointArn": "acs:agentrun:cn-hangzhou:1760720386195983:runtime-endpoints/e56d483c-db80-4116-9ec4-25f16f5facfd",
"agentRuntimeEndpointName": "production-endpoint",
"description": "Production endpoint for customer service agent",
"status": "ACTIVE",
"statusReason": "Endpoint is active and ready",
"targetVersion": "LATEST",
"routingConfiguration": {
"versionWeights": [
{
"version": "",
"weight": 0
}
]
},
"endpointPublicUrl": "https://ar-1234567890abcdef.cn-hangzhou.agentrun.aliyuncs.com",
"disablePublicNetworkAccess": true,
"scalingStatus": {
"minInstances": 1,
"targetInstances": 2,
"currentInstances": 2,
"scheduledPolicies": [
{
"name": "scale-up-morning",
"startTime": "2024-01-01T08:00:00",
"endTime": "2024-01-01T08:00:00",
"scheduleExpression": "cron(0 8 * * ? *)",
"timeZone": "Asia/Shanghai",
"target": 20
}
],
"currentError": "error"
}
}
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。
该文章对您有帮助吗?