thedietz
3 years agoNeophyte
Powershell API call to POST custom property
Hello. Trying to get the code right with powershell to use the API to add a custom property to a device. The custom property is a CityCode that we are using.
I am an Administrator in our i...
- 3 years ago
I can't test this right now but per https://www.logicmonitor.com/support/rest-api-developers-guide/v1/devices/add-device-properties (for APIv1) but you don't provide the type (it's assumed custom since that is all you can do anyway). Also I think capitalization might be important and you should use "name" and "value" lowercase.