Fortinet white logo
Fortinet white logo

Rest API

7.4.0

Get /radius/attrgroups

Get /radius/attrgroups

Description

Get all defined RADIUS attribute groups, or if provided those matching specified filter.

Request Headers

Key

Value

Type

Description

Authorization Bearer <Authorization Token> String Authorization credential generated by FortiNAC
Content-Type (option 1) application/json String

Content-Type (option 2)

application/xml

Request Body Parameters

Name

Required

Type

filter Optional Array
start Optional Integer
count Optional Integer
sortKey Optional String
sortDir Optional String

Sample Request

Request URL

Get https://10.106.94.152:8443/api/v2/radius/attrgroups

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "success",

"errorMessage": null,

"results": [

{

"dbid": 4,

"name": "Aruba_Role",

"attributes": [

{

"dbid": 4917,

"type": "string",

"attribute": "Aruba-User-Role",

"value": "1",

"vendor": "Aruba",

"vendorId": 14813,

"hasTag": false,

"custom": false,

"definedValues": {},

"responseValues": [

"%ACCESS_VALUE%"

]

}

],

"usage": "{\"name\":\"Aruba_Role\",\"inuse\":false,\"deviceList\":[],\"srcList\":[],\"ssidList\":[],\"vdomList\":[]}"

}

]

}

Get /radius/attrgroups

Get /radius/attrgroups

Description

Get all defined RADIUS attribute groups, or if provided those matching specified filter.

Request Headers

Key

Value

Type

Description

Authorization Bearer <Authorization Token> String Authorization credential generated by FortiNAC
Content-Type (option 1) application/json String

Content-Type (option 2)

application/xml

Request Body Parameters

Name

Required

Type

filter Optional Array
start Optional Integer
count Optional Integer
sortKey Optional String
sortDir Optional String

Sample Request

Request URL

Get https://10.106.94.152:8443/api/v2/radius/attrgroups

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "success",

"errorMessage": null,

"results": [

{

"dbid": 4,

"name": "Aruba_Role",

"attributes": [

{

"dbid": 4917,

"type": "string",

"attribute": "Aruba-User-Role",

"value": "1",

"vendor": "Aruba",

"vendorId": 14813,

"hasTag": false,

"custom": false,

"definedValues": {},

"responseValues": [

"%ACCESS_VALUE%"

]

}

],

"usage": "{\"name\":\"Aruba_Role\",\"inuse\":false,\"deviceList\":[],\"srcList\":[],\"ssidList\":[],\"vdomList\":[]}"

}

]

}