Fortinet white logo
Fortinet white logo

Rest API

7.4.0

Post /user/admin-profile/{id}

Post /user/admin-profile/{id}

Description

Updates an Admin Profile record with the supplied ID and values.

Request Parameter

Id, the Admin Profile 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/user/admin-profile/1

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Request Body

{

"isKioskMode": false,

"global": true,

"dbid": 1,

"name": "string",

"inactivityTime": 0,

"schedule": "string",

"kioskTemplateID": 0,

"kioskWelcomeMessage": "string",

"note": "string",

"landingPage": "string",

"manageByGroups": true,

"guid": 0,

"globalModifiedDate": "2024-03-06T19:39:19.699Z",

"preventAging": true,

"upgradePermissions": true,

"lockoutThreshold": 0,

"lockoutDuration": 0,

"permissions": {

"additionalProp1": {

"permissions": [

"string"

],

"attributes": {

"additionalProp1": "string",

"additionalProp2": "string",

"additionalProp3": "string"

},

"view": true,

"modify": true,

"remove": true,

"customized": true,

"allIDs": true,

"selectedIDs": [

0

],

"allowedViews": {

"additionalProp1": true,

"additionalProp2": true,

"additionalProp3": true

}

},

"additionalProp2": {

"permissions": [

"string"

],

"attributes": {

"additionalProp1": "string",

"additionalProp2": "string",

"additionalProp3": "string"

},

"view": true,

"modify": true,

"remove": true,

"customized": true,

"allIDs": true,

"selectedIDs": [

0

],

"allowedViews": {

"additionalProp1": true,

"additionalProp2": true,

"additionalProp3": true

}

},

"additionalProp3": {

"permissions": [

"string"

],

"attributes": {

"additionalProp1": "string",

"additionalProp2": "string",

"additionalProp3": "string"

},

"view": true,

"modify": true,

"remove": true,

"customized": true,

"allIDs": true,

"selectedIDs": [

0

],

"allowedViews": {

"additionalProp1": true,

"additionalProp2": true,

"additionalProp3": true

}

}

},

"ncmLandingPage": "string"

}

Sample Response

{

"status": "string",

"errorMessage": "string"

}

Post /user/admin-profile/{id}

Post /user/admin-profile/{id}

Description

Updates an Admin Profile record with the supplied ID and values.

Request Parameter

Id, the Admin Profile 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/user/admin-profile/1

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Request Body

{

"isKioskMode": false,

"global": true,

"dbid": 1,

"name": "string",

"inactivityTime": 0,

"schedule": "string",

"kioskTemplateID": 0,

"kioskWelcomeMessage": "string",

"note": "string",

"landingPage": "string",

"manageByGroups": true,

"guid": 0,

"globalModifiedDate": "2024-03-06T19:39:19.699Z",

"preventAging": true,

"upgradePermissions": true,

"lockoutThreshold": 0,

"lockoutDuration": 0,

"permissions": {

"additionalProp1": {

"permissions": [

"string"

],

"attributes": {

"additionalProp1": "string",

"additionalProp2": "string",

"additionalProp3": "string"

},

"view": true,

"modify": true,

"remove": true,

"customized": true,

"allIDs": true,

"selectedIDs": [

0

],

"allowedViews": {

"additionalProp1": true,

"additionalProp2": true,

"additionalProp3": true

}

},

"additionalProp2": {

"permissions": [

"string"

],

"attributes": {

"additionalProp1": "string",

"additionalProp2": "string",

"additionalProp3": "string"

},

"view": true,

"modify": true,

"remove": true,

"customized": true,

"allIDs": true,

"selectedIDs": [

0

],

"allowedViews": {

"additionalProp1": true,

"additionalProp2": true,

"additionalProp3": true

}

},

"additionalProp3": {

"permissions": [

"string"

],

"attributes": {

"additionalProp1": "string",

"additionalProp2": "string",

"additionalProp3": "string"

},

"view": true,

"modify": true,

"remove": true,

"customized": true,

"allIDs": true,

"selectedIDs": [

0

],

"allowedViews": {

"additionalProp1": true,

"additionalProp2": true,

"additionalProp3": true

}

}

},

"ncmLandingPage": "string"

}

Sample Response

{

"status": "string",

"errorMessage": "string"

}