Duplicate agent

Create a new agent by duplicating an existing one

路径参数

agent_idstring必需
The id of an agent. This is returned on agent creation.

请求头

xi-api-keystring可选

请求

This endpoint expects an object.
namestring可选
A name to make the agent easier to find

响应

Successful Response
agent_idstring
ID of the created agent

错误

422
Agents Duplicate Request Unprocessable Entity Error