Fortinet white logo
Fortinet white logo

Rest API

7.2.0

Post /radius/attrgroups/{id}

Post /radius/attrgroups/{id}

Description

Update RADIUS attribute group by ID.

Request Parameter

Id, the RADIUS attribute group Id.

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

Sample Request

Request URL

POST https://10.106.94.152:8443/api/v2/radius/attrgroups/4

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Request Body

{

"dbid": 0,

"name": "string",

"attributes": [

{

"dbid": 0,

"type": "string",

"attribute": "string",

"value": "string",

"format": "string",

"vendor": "string",

"vendorId": 0,

"hasTag": true,

"encryptMethod": 0,

"custom": true,

"definedValues": {

"additionalProp1": "string",

"additionalProp2": "string",

"additionalProp3": "string"

},

"responseValues": [

"string"

]

}

],

"yamsEventTag": "string",

"auditObj": {

"user": "string",

"action": "string",

"timestamp": "2024-01-03T19:52:27.746Z",

"liveObj": {

"yamsEventTag": "string",

"auditObj": "string"

},

"auditDBID": 0,

"liveDBID": 0,

"yamsEventTag": "string",

"auditObj": "string"

}

}

Sample Response

{

"status": "string",

"errorMessage": "string",

"result": {

"dbid": 0,

"name": "string",

"attributes": [

{

"dbid": 0,

"type": "string",

"attribute": "string",

"value": "string",

"format": "string",

"vendor": "string",

"vendorId": 0,

"hasTag": true,

"encryptMethod": 0,

"custom": true,

"definedValues": {

"additionalProp1": "string",

"additionalProp2": "string",

"additionalProp3": "string"

},

"responseValues": [

"string"

]

}

],

"yamsEventTag": "string",

"auditObj": {

"user": "string",

"action": "string",

"timestamp": "2024-01-03T22:43:22.777Z",

"liveObj": {

"yamsEventTag": "string",

"auditObj": "string"

},

"auditDBID": 0,

"liveDBID": 0,

"yamsEventTag": "string",

"auditObj": "string"

}

}

}

Post /radius/attrgroups/{id}

Post /radius/attrgroups/{id}

Description

Update RADIUS attribute group by ID.

Request Parameter

Id, the RADIUS attribute group Id.

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

Sample Request

Request URL

POST https://10.106.94.152:8443/api/v2/radius/attrgroups/4

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Request Body

{

"dbid": 0,

"name": "string",

"attributes": [

{

"dbid": 0,

"type": "string",

"attribute": "string",

"value": "string",

"format": "string",

"vendor": "string",

"vendorId": 0,

"hasTag": true,

"encryptMethod": 0,

"custom": true,

"definedValues": {

"additionalProp1": "string",

"additionalProp2": "string",

"additionalProp3": "string"

},

"responseValues": [

"string"

]

}

],

"yamsEventTag": "string",

"auditObj": {

"user": "string",

"action": "string",

"timestamp": "2024-01-03T19:52:27.746Z",

"liveObj": {

"yamsEventTag": "string",

"auditObj": "string"

},

"auditDBID": 0,

"liveDBID": 0,

"yamsEventTag": "string",

"auditObj": "string"

}

}

Sample Response

{

"status": "string",

"errorMessage": "string",

"result": {

"dbid": 0,

"name": "string",

"attributes": [

{

"dbid": 0,

"type": "string",

"attribute": "string",

"value": "string",

"format": "string",

"vendor": "string",

"vendorId": 0,

"hasTag": true,

"encryptMethod": 0,

"custom": true,

"definedValues": {

"additionalProp1": "string",

"additionalProp2": "string",

"additionalProp3": "string"

},

"responseValues": [

"string"

]

}

],

"yamsEventTag": "string",

"auditObj": {

"user": "string",

"action": "string",

"timestamp": "2024-01-03T22:43:22.777Z",

"liveObj": {

"yamsEventTag": "string",

"auditObj": "string"

},

"auditDBID": 0,

"liveDBID": 0,

"yamsEventTag": "string",

"auditObj": "string"

}

}

}