authorization

Configure authorization for controlling access to functions.

authorization Specification

Type Configuration Resource
Element Name authorization
Element URI /axapi/v3/authorization
Element Attributes authorization_attributes
Schema authorization schema

Operations Allowed:

Operation Method URI Payload

Create Object

POST

/axapi/v3/authorization

authorization Attributes

Get Object

GET

/axapi/v3/authorization

authorization Attributes

Modify Object

POST

/axapi/v3/authorization

authorization Attributes

Replace Object

PUT

/axapi/v3/authorization

authorization Attributes

Delete Object

DELETE

/axapi/v3/authorization

authorization Attributes

authorization Attributes

commands

Description: Specifies the level of commands that will be authorized.
  • 0 : Read-only
  • 1 : Read-write
  • 2 - 4 : Not used
  • 5 - 14 : Reserved for ACOS-specific roles.
  • 15 : Read-write

Type: number

Range: 0-15

debug

Description: Specifies the debug level for authorization.
  • 1 : Common system events.
  • 2 : Packet fields sent out and received.
  • 4 : Length fields of the TACACS+ packets will also be displayed.
  • 8 : Information about TACACS+ MD5 encryption.

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

method

Specification
Type object

none

Description: No authorization will be performed.

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

tacplus

Description: Specifies TACACS+ as the authorization method.

Type: boolean

Supported Values: true, false, 1, 0

Default: 0