Update agent by id

This API updates the agent configuration by agent id.

Code

$http.put("https://api.agenty.com/2.0/agents/{AgentType}/{AgentId}?key={ApiKey}", AgentConfig)
            .success(function (response) {
               console.log(response)
            }).error(function (response) {
               console.log(response) 
            });