Summary
Update a config parser.
Description
Update rules for a parser for breaking down configs in GC.
Route
PUT /configuration_manager/configurations/parser
Roles
admin
apiwrite
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
name |
string |
yes |
Name of the config parser. |
options |
object |
yes |
- |
Copied to Clipboard
{
"name": "in occaecat",
"options": {
"lexRules": [],
"template": "cisco-ios"
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"name": {
"title": "name",
"type": "string",
"minLength": 1
},
"options": {
"title": "options",
"type": "object",
"properties": {
"lexRules": {
"type": "array"
},
"template": {
"type": "string",
"examples": [
"cisco-ios"
]
}
}
}
},
"required": [
"name",
"options"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
- |
Copied to Clipboard
{
"status": "dolore magna elit",
"updated": 55454954.98233661
}
Copied to Clipboard
{
"title": "result",
"type": "object",
"properties": {
"status": {
"type": "string"
},
"updated": {
"type": "number"
}
},
"required": []
}