AAA Accounting Commands

Configures, modifies, and retrieves AAA accounting commands configuration. The URI to configure data for AAA accounting commands is:

/system/aaa/accounting/commands

To create AAA accounting commands configuration using PUT method:

/system/aaa/accounting

To modify AAA accounting commands configuration using PATCH method:

/system/aaa/accounting       

To delete AAA accounting commands configuration in the system:

/system/aaa/accounting/commands   

Supported HTTP Operations

GET method

URL: https://<host>/restconf/data/system/aaa/accounting/commands
Request body: None
Response body:     {
   "icx-openconfig-aaa-aug:commands" : {
      "privilege" : 4,
      "default-start-stop" : [
         "radius",
         "none"
      ]
   }
}

PUT method

URL: https://<host>/restconf/data/system/aaa/accounting/commands
Request body:
{
      "commands" : {
         "privilege" : 4,
         "default-start-stop" : "none"
      }
}
Response body: None    

PATCH method

URL: https://<host>/restconf/data/system/aaa/accounting
Request body:
 {
   "accounting" : {
      "commands" : {
         "default-start-stop" : "tacacs+"
      }
   }
}
Response body: None    

DELETE

URL: https://<host>/restconf/data/system/aaa/accounting/commands
Request body: None    
Response body: None