Summary
Add a device group to Ansible Manager
Description
This method will add a device group to Ansible Manager
Route
No Northbound API Available
Roles
admin
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
group |
string |
yes |
the name of a device group |
devices |
array |
yes |
array of devices in the device group |
groupVars |
object |
yes |
the information for the device group |
Copied to Clipboard
{
"group": "ipsum fugiat",
"devices": [],
"groupVars": null
}
Copied to Clipboard
{
"type": "object",
"properties": {
"group": {
"description": "the name of a device group",
"type": "string"
},
"devices": {
"description": "array of devices in the device group",
"type": "array"
},
"groupVars": {
"description": "the information for the device group",
"type": "object",
"properties": {},
"required": [
"groupVars"
],
"additionalProperties": false
}
},
"required": [
"group",
"devices",
"groupVars"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
the device group that was created |
Copied to Clipboard
{
"result": true
}
Copied to Clipboard
{
"description": "the device group that was created",
"type": "object",
"properties": {
"result": true
},
"required": [
"result"
],
"additionalProperties": false
}