Gateways - Update

POST /1/gateways/{gateway_id}
Host: https://api.cogniac.io

Fields that can be updated:

  • name
  • description
  • location
  • poll_interval
  • model_deployment_policy
{
  "name": "updated gateway"
}
{
  "gateway_id": "Ajr2t45p",
	"location": "cogniac-hq",
	"poll_interval": 20,
  "name": "updated gateway",
  "description": "test gateway at cogniac",
  "created_at": 1463179215.124683,
  "modified_at": 1463179215.124683,
  "tenant_id": "rt06diepwc3i",
  "created_by": "[email protected]",
  "ip_address": "127.0.0.1",
  "serial_number": "MF0X8EZ0-A821-21D3-AC0F-3897F789E41A",
  "mac_address" : "98975699e41a"
}