Fortinet white logo
Fortinet white logo

Rest API

7.4.0

Post /system/local-properties/system/initialize

Post /system/local-properties/system/initialize

Description

Sets initial passwords for the CLI and the Administrative UI and configures the NMAP service. This does not change the CLI passwords immediately, as the final values are written by the Config Wizard.

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/system/local-properties/system/initialize

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Request Body

{

"adminUIUserID": "string",

"adminUIPassword": "string",

"adminCLIPassword": "string",

"rootCLIPassword": "string",

"nmapScanning": true

}

Sample Response

{

"status": "string",

"errorMessage": "string"

}

Post /system/local-properties/system/initialize

Post /system/local-properties/system/initialize

Description

Sets initial passwords for the CLI and the Administrative UI and configures the NMAP service. This does not change the CLI passwords immediately, as the final values are written by the Config Wizard.

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/system/local-properties/system/initialize

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Request Body

{

"adminUIUserID": "string",

"adminUIPassword": "string",

"adminCLIPassword": "string",

"rootCLIPassword": "string",

"nmapScanning": true

}

Sample Response

{

"status": "string",

"errorMessage": "string"

}