authorization¶
Configuration for command authorization
authorization Specification¶
Parameter
Value
Type
Configuration Resource
Element Name
authorization
Element URI
/axapi/v3/authorization
Element Attributes
authorization_attributes
Partition Visibility
shared
Schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/authorization | ||
POST /axapi/v3/authorization
Payload:
{
"authorization": {
"commands": 0,
"method": {
"tacplus": 1,
"none": 1
}
}
}
| ||||
Get Object | GET | /axapi/v3/authorization | ||
GET /axapi/v3/authorization
Reponse:
{
"authorization": {
"commands": 0,
"method": {
"tacplus": 1,
"none": 1
},
"uuid": "166dc0e8-6445-11f0-bb28-79f1a04e0366",
"a10-url": "/axapi/v3/authorization"
}
}
| ||||
Modify Object | POST | /axapi/v3/authorization | ||
Replace Object | PUT | /axapi/v3/authorization | ||
PUT /axapi/v3/authorization
Payload:
{
"authorization": {
"debug": 2
}
}
| ||||
Delete Object | DELETE | /axapi/v3/authorization | ||
DELETE /axapi/v3/authorization
Reponse:
{
"response": {
"status": "OK"
}
}
|
authorization attributes¶
commands
Description Commands level for authorization
Type: number
Range: 0-15
debug
Description Specify the debug level for authorization (Debug level for command authorization. bitwise OR of the following: 1(common), 2(packet),4(packet detail), 8(md5))
Type: number
Range: 1-15
method
Description: method is a JSON Block. Please see below for method
Type: Object
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters
method¶
Specification
Value
Type
object
none
Description No command authorization
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
tacplus
Description Using TACACS+ protocol
Type: boolean
Supported Values: true, false, 1, 0
Default: 0