Import Login Rule Information.
Function
Import login rule information.
Syntax
Operation type: POST
URL:https://device_ip/redfish/v1/EdgeSystem/SecurityLoad.Import
Request header:
X-Auth-Token: auth_value
Request message body:
{ "Password": password, "file_name": file_name }
Parameter Description
Parameter |
Description |
Value |
---|---|---|
device_ip |
Indicates the IP address for logging in to a device. |
An IPv4 or IPv6 address |
auth_value |
Indicates the authentication parameter contained in a request. |
You can obtain the value from the session created by using /redfish/v1/SessionService/Sessions. |
Password |
User password. |
- |
file_name |
Name of the file to be uploaded |
- |
Usage Guidelines
None
Example
Request:
POST https://10.10.10.10/redfish/v1/EdgeSystem/SecurityLoad.Import
Request header:
X-Auth-Token: 6599174c38c36838737d9749179e1ee1
Request message body:
{ "Password": "wdfasdf_123", "file_name": "session_cfg.ini" }
Response:
{ message: "Import successfully" status: 200 }
Response code: 200
Output Description
Attribute |
Type |
Description |
---|---|---|
status |
Character string |
Response code |
message |
Character string |
Response message |