Inspur NF3120M5 User Manual page 183

Hide thumbs Also See for NF3120M5:
Table of Contents

Advertisement

BMC Settings
9.26.2 POST
The client sends data to the specified URL via HTTP POST, and the server is configured
according to the POST data.
For example: To create a new user, the basic format is as follows:
URL: https://{{ip}}/redfish/v1/AccountService/Accounts
Method: POST
Content-Type: application/json
Body: (raw format)
{
"Name": "Test account",
"Description": "just test",
"Enabled": true,
"Password": "superuser",
"UserName": "admin",
"RoleId": "Operator",
"Locked": false
}
If the creation is successful, message code 201 is returned, and the created user information
is displayed.
9.26.3 DELETE
The client deletes the data of the specified URL via HTTP DELTE, and the server deletes the
177

Advertisement

Table of Contents
loading

Table of Contents