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": "veniam laboris Lorem",
"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": "Duis fugiat nostrud minim",
"updated": -36265168.30124706
}
Copied to Clipboard
{
"title": "result",
"type": "object",
"properties": {
"status": {
"type": "string"
},
"updated": {
"type": "number"
}
},
"required": []
}