Summary
Provision a Smart Template
Description
Provision a Smart Template
Route
POST /smart_template/st/provision/deletion
Roles
admin
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
instance_data |
object |
yes |
Smart Template Instance |
Copied to Clipboard
{
"instance_data": {
"xpaths": [
"/ncs:devices/ncs:device[ncs:name='deviceName']/ncs:config/ios:hostname"
],
"action": "delete"
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"instance_data": {
"$ref": "deletionInstance"
}
},
"required": [
"instance_data"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
status |
object |
NSO Status |
Copied to Clipboard
[
{
"result": -45248833.810356185
},
{
"result": 1189569
},
{
"result": true
}
]
Copied to Clipboard
{
"type": "array",
"items": {
"type": "object",
"propeties": {
"result": {
"type": "string",
"examples": [
"success"
]
}
},
"required": [
"result"
]
}
}