Summary
Creates a device group
Description
Creates a new device group in pronghorn
Route
POST /configuration_manager/devicegroup
Roles
admin
apiwrite
Parameters
DetailsExampleSchema
| Name |
Type |
Required |
Description |
| groupName |
string |
yes |
Name of the device group to be created |
| groupDescription |
string |
yes |
Description of the device group to be created |
| deviceNames |
string |
yes |
A string of devices to add to the group. (Separated by commas) |
Copied to Clipboard
{
"groupName": "my standard name",
"groupDescription": "my standard description",
"deviceNames": "device1, device2, device3, device4"
}
Copied to Clipboard
{
"type": "object",
"properties": {
"groupName": {
"title": "groupName",
"$ref": "common#/definitions/standardName"
},
"groupDescription": {
"title": "groupDescription",
"$ref": "common#/definitions/standardDescription"
},
"deviceNames": {
"title": "deviceNames",
"$ref": "common#/definitions/multiElementString"
}
},
"required": [
"groupName",
"groupDescription",
"deviceNames"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
| Name |
Type |
Description |
| data |
object |
Result of creating a new device group |
Copied to Clipboard
{
"id": "5c35355dbebaa82eaf8113f0",
"name": "Lorem est dolore",
"message": "in anim",
"status": "est reprehenderit magna labore laboris"
}