Delete An AI Agent Instance
Description
By calling this interface, you can delete an existing AI agent instance.
Request prototype
- Request method: POST
- Request body format: JSON
- Request URL: https://aigc-aiagent-api.zegotech.cn?Action=DeleteAgentInstance
- Transmission protocol: HTTPS
- QPS limit: 10 times/second
Request Parameters
Listed below are the parameters specific to this request and part of the common request parameters. For the complete list of common request parameters, see Accessing Server APIs - Common request parameters.
Parameter | Type | Required | Description |
---|---|---|---|
AgentInstanceId | String | Yes | The unique identifier of the agent instance, obtained via the response parameter of the Create An AI Agent Instance interface. |
Sample Request
-
Request URL:
Untitledhttps://aigc-aiagent-api.zegotech.cn?Action=DeleteAgentInstance &<Common Request Parameters>
1 -
Request body:
Untitled{ "AgentInstanceId": "1909811657303920640" }
1
Response Parameters
Parameter | Type | Description |
---|---|---|
Code | Number | Return code. 0 indicates success, other values indicate failure. For more information on error codes and response handling recommendations, please refer to Return Codes. |
Message | String | Explanation of the request result. |
RequestId | String | Request ID. |
Sample Response
Untitled
{
"Code": 0,
"Message": "Succeed",
"RequestId": "1843985617336143872"
}
1