The docs
say that the attribute 'IsEnabled' is optional with default "false".
I think the api does not use the correct default value.
We created a target server with the following document:
{ host: 'google.com', isEnabled: false, name: 'edge_cli_test', port: 80 }
Reading this entity back confirms that isEnabled is set correctly to false.
Now we are sending the document
{ host: 'google.com', name: 'edge_cli_test', port: 80 }
to update the target server.
Reading this entity back delivers
{ host: 'google.com', isEnabled: true, name: 'edge_cli_test', port: 80 }
So, it seems as if the default is "true" instead of "false".
Is it a bug? If yes, either the documentation or the implementation has to be fixed.
Best regards
Achim