AAA Authorization Commands

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

/system/aaa/authorization/commands

To create AAA authorization commands configuration using PUT method:

/system/aaa/authorization 

To modify AAA authorization commands configuration using PATCH method:

/system/aaa/authorization       

To delete AAA authentication commands configuration in the system:

/system/aaa/authorization/commands   

Supported HTTP Operations

GET method

URL: https://<host>/restconf/data/system/aaa/authorization/commands
Request body: None
Response body:     
{
   "icx-openconfig-aaa-aug:commands" : {
      "default" : [
         "radius",
         "tacacs+"
      ],
      "privilege" : 5
   }
}   

PUT method

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

PATCH method

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

DELETE

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