Request
curl -X PUT https://api.boty.chat/api/agents/agent_123 \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Updated Support Bot",
"systemPrompt": "Updated system prompt..."
}'
Path Parameters
Body Parameters
Agent status: active or inactive
Response
{
"success": true,
"data": {
"_id": "agent_123",
"name": "Updated Support Bot",
"systemPrompt": "Updated system prompt...",
"updatedAt": "2024-01-20T15:30:00Z"
}
}