rduram
Contributor
20 days agoProvisioning a Virtual Device in SL1 API
We are building an app that will have a component to build a virtual device, align a dynamic app and a credential to it using the SL1 API. Looking for some guidance on how to do this as we have neve...
- 16 days ago
Hello Rob,
You can POST to /api/device, only filling out the specific fields and using a device class for virtual devices. An example payload is:
{
"name": "Example Virtual Device",
"class_type": "/api/device_class/<virtual device class ID>",
"collector_group": "/api/collector_group/1",
"organization": "/api/organization/0"
}Replacing <virtual device class ID> with the ID of the virtual device class you want.
Antonio Andres
Senior Technical Support Engineer | ScienceLogic