Fortinet white logo
Fortinet white logo

Rest API

7.4.0

Get /radius/radius-server-config

Get /radius/radius-server-config

Description

Return all RADIUS server configuration objects.

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/radius-server-config

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "success",

"errorMessage": null,

"results": [

{

"dbid": 1,

"name": "DefaultConfig",

"tlsServiceConfiguration": {

"id": 2,

"lastModifiedBy": "SYSTEM",

"lastModifiedDate": "2024-01-17T01:28:42.000+0000",

"name": "RADIUS EAP 9f8fbecb-7b6c-4403-b7f6-aae9595531ff",

"ciphers": "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",

"tlsProtocols": "TLSv1.2",

"certAlias": "radius",

"clientAuthMode": "OPTIONAL",

"clientAuthAliases": "radius_trust",

"autoUpdateCiphersAndProtocols": true,

"globalModifiedDate": "2023-08-25T17:40:36.000+0000",

"GUID": null

},

"winbindConfigurations": [],

"tlsEapTlsFragmentSize": 1002,

"tlsCommonFragmentSize": 1200,

"eapFastServerUnauthenticatedProvisioning": false,

"eapFastServerAuthenticatedProvisioning": false,

"tlsConfigID": 2,

"lastModifiedBy": "SYSTEM",

"lastModifiedDate": "2023-08-25T17:40:36.000+0000",

"allowAnyWinbindConfig": true,

"ocspEnabled": false,

"enabledEapTypes": [

"TTLS",

"PEAP",

"MD5",

"GTC",

"MSCHAPV2"

],

"winbindConfigStr": "All",

"tlsConfigName": "RADIUS EAP 9f8fbecb-7b6c-4403-b7f6-aae9595531ff",

"tlsCertificateAlias": "radius"

}

]

}

Get /radius/radius-server-config

Get /radius/radius-server-config

Description

Return all RADIUS server configuration objects.

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/radius-server-config

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "success",

"errorMessage": null,

"results": [

{

"dbid": 1,

"name": "DefaultConfig",

"tlsServiceConfiguration": {

"id": 2,

"lastModifiedBy": "SYSTEM",

"lastModifiedDate": "2024-01-17T01:28:42.000+0000",

"name": "RADIUS EAP 9f8fbecb-7b6c-4403-b7f6-aae9595531ff",

"ciphers": "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",

"tlsProtocols": "TLSv1.2",

"certAlias": "radius",

"clientAuthMode": "OPTIONAL",

"clientAuthAliases": "radius_trust",

"autoUpdateCiphersAndProtocols": true,

"globalModifiedDate": "2023-08-25T17:40:36.000+0000",

"GUID": null

},

"winbindConfigurations": [],

"tlsEapTlsFragmentSize": 1002,

"tlsCommonFragmentSize": 1200,

"eapFastServerUnauthenticatedProvisioning": false,

"eapFastServerAuthenticatedProvisioning": false,

"tlsConfigID": 2,

"lastModifiedBy": "SYSTEM",

"lastModifiedDate": "2023-08-25T17:40:36.000+0000",

"allowAnyWinbindConfig": true,

"ocspEnabled": false,

"enabledEapTypes": [

"TTLS",

"PEAP",

"MD5",

"GTC",

"MSCHAPV2"

],

"winbindConfigStr": "All",

"tlsConfigName": "RADIUS EAP 9f8fbecb-7b6c-4403-b7f6-aae9595531ff",

"tlsCertificateAlias": "radius"

}

]

}