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