GET/PATCH/DELETE – Account properties
Use the GET/PATCH/DELETE method to retrieve properties in account collection for Redfish service.
Request URL
https://<SMM_IPADDR>/AccountService/Accounts/{Id}
Request body
None
Response body
Field | Type | Description | |||
|---|---|---|---|---|---|
AccountTypes | Array | Items: string Item count: 3 | |||
AccountTypes[N] | String | [“Web”, “Redfish”, “IPMI”] | |||
Description | String | “User Account” | |||
Enabled | Boolean | {true, false | |||
Id | String | “1” ~ ”15” | |||
Locked | Boolean | The account locked state | |||
Name | String | “User Account” | |||
Password | String Null | The password of the account. Display null on a GET. | |||
PasswordChangeRequired | Boolean | {true, false} | |||
RoleId | String | The role id which this account is mapped to. | |||
UserName | String | The value of this property is the user name for this account. | |||
REST operation — PATCH / DELETE
| Operation | Properties | Comment |
| PATCH |
| Refer to REST operation — POST in AccountCollection. |
| DELETE | None |
Give documentation feedback