logo
On this page

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.

ParameterTypeRequiredDescription
AgentInstanceIdStringYesThe unique identifier of the agent instance, obtained via the response parameter of the Create An AI Agent Instance interface.

Sample Request

  • Request URL:

    Untitled
    https://aigc-aiagent-api.zegotech.cn?Action=DeleteAgentInstance
    &<Common Request Parameters>
    
    1
    Copied!
  • Request body:

    Untitled
    {
        "AgentInstanceId": "1909811657303920640"
    }
    
    1
    Copied!

Response Parameters

ParameterTypeDescription
CodeNumberReturn code. 0 indicates success, other values indicate failure. For more information on error codes and response handling recommendations, please refer to Return Codes.
MessageStringExplanation of the request result.
RequestIdStringRequest ID.

Sample Response

Untitled
{
    "Code": 0,
    "Message": "Succeed",
    "RequestId": "1843985617336143872"
}
1
Copied!

Previous

Update Agent Instance

Next

Trigger LLM