Fortinet white logo
Fortinet white logo

Rest API

7.2.0

Get /user/admin-profile/{id}

Get /user/admin-profile/{id}

Description

Returns a list of Admin Profile matching both the ID passed as a parameter, and the supplied filter.

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

GET https://10.106.94.152:8443/api/v2/user/admin-profile/1

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "string",

"errorMessage": "string",

"results": [

{

"lastModifiedBy": "string",

"lastModifiedDate": "2024-03-06T19:29:01.374Z",

"administrator": true,

"isKioskMode": false,

"global": true,

"dbid": 0,

"name": "string",

"inactivityTime": 0,

"schedule": "string",

"kioskTemplateID": 0,

"kioskWelcomeMessage": "string",

"note": "string",

"landingPage": "string",

"manageByGroups": true,

"guid": 0,

"globalModifiedDate": "2024-03-06T19:29:01.374Z",

"preventAging": true,

"upgradePermissions": true,

"lockoutThreshold": 0,

"lockoutDuration": 0,

"permissions": {

"additionalProp1": {

"permissions": [

"string"

],

"displayName_API": "string",

"view": true,

"modify": true,

"remove": true,

"customized": true,

"allIDs": true,

"allowedViews": {

"additionalProp1": true,

"additionalProp2": true,

"additionalProp3": true

}

},

"additionalProp2": {

"permissions": [

"string"

],

"displayName_API": "string",

"view": true,

"modify": true,

"remove": true,

"customized": true,

"allIDs": true,

"allowedViews": {

"additionalProp1": true,

"additionalProp2": true,

"additionalProp3": true

}

},

"additionalProp3": {

"permissions": [

"string"

],

"displayName_API": "string",

"view": true,

"modify": true,

"remove": true,

"customized": true,

"allIDs": true,

"allowedViews": {

"additionalProp1": true,

"additionalProp2": true,

"additionalProp3": true

}

}

},

"ncmLandingPage": "string",

"scheduleStr": "string"

}

],

"filtered": 0,

"total": 0

}

Get /user/admin-profile/{id}

Get /user/admin-profile/{id}

Description

Returns a list of Admin Profile matching both the ID passed as a parameter, and the supplied filter.

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

GET https://10.106.94.152:8443/api/v2/user/admin-profile/1

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "string",

"errorMessage": "string",

"results": [

{

"lastModifiedBy": "string",

"lastModifiedDate": "2024-03-06T19:29:01.374Z",

"administrator": true,

"isKioskMode": false,

"global": true,

"dbid": 0,

"name": "string",

"inactivityTime": 0,

"schedule": "string",

"kioskTemplateID": 0,

"kioskWelcomeMessage": "string",

"note": "string",

"landingPage": "string",

"manageByGroups": true,

"guid": 0,

"globalModifiedDate": "2024-03-06T19:29:01.374Z",

"preventAging": true,

"upgradePermissions": true,

"lockoutThreshold": 0,

"lockoutDuration": 0,

"permissions": {

"additionalProp1": {

"permissions": [

"string"

],

"displayName_API": "string",

"view": true,

"modify": true,

"remove": true,

"customized": true,

"allIDs": true,

"allowedViews": {

"additionalProp1": true,

"additionalProp2": true,

"additionalProp3": true

}

},

"additionalProp2": {

"permissions": [

"string"

],

"displayName_API": "string",

"view": true,

"modify": true,

"remove": true,

"customized": true,

"allIDs": true,

"allowedViews": {

"additionalProp1": true,

"additionalProp2": true,

"additionalProp3": true

}

},

"additionalProp3": {

"permissions": [

"string"

],

"displayName_API": "string",

"view": true,

"modify": true,

"remove": true,

"customized": true,

"allIDs": true,

"allowedViews": {

"additionalProp1": true,

"additionalProp2": true,

"additionalProp3": true

}

}

},

"ncmLandingPage": "string",

"scheduleStr": "string"

}

],

"filtered": 0,

"total": 0

}