Dear user,
The POST method is used to create managed objects. The parameters to be delivered are defined in the request body.
Creating a managed object:
Example: Use IP address 192.168.1.10 to create user test on device abcd:
URI: https://192.168.1.10:8088/deviceManager/rest/abcd/user
METHOD:POST
Request body:
{
"TYPE":202,
"NAME":"test",
"SCOPE":0,
"LEVEL":2,
"PASSWORD":"Admin@storage1",
"DESCRIPTION":""
}
Normal response:
{
"error":{"code":0,"description":"0"}
}
More information about OceanStor DeviceManager APIs:
https://support.huawei.com/enterprise/en/doc/EDOC1000138414?section=j005
Thank you.