GET – Collection for accounts
Use the GET method to retrieve properties in account collection for Redfish service.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/AccountService/Accounts
Request body
None
Response body
Field | Type | Description | |||
---|---|---|---|---|---|
Name | String | “ManagerAccountCollection” | |||
Members | Array | Items: A reference link to an element of accounts | |||
Description | String | A collection of ManagerAccount resource instances. |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Example
The following example JSON response is returned:
{
"Name": "ManagerAccountCollection",
"@odata.type": "#ManagerAccountCollection.ManagerAccountCollection",
"@odata.id": "/redfish/v1/AccountService/Accounts",
"Members@odata.count": 3,
"Members": [
{
"@odata.id": "/redfish/v1/AccountService/Accounts/1"
},
{
"@odata.id": "/redfish/v1/AccountService/Accounts/2"
},
{
"@odata.id": "/redfish/v1/AccountService/Accounts/HostBootStrap"
}
],
"Description": "A collection of ManagerAccount resource instances.",
"@odata.context": "/redfish/v1/$metadata#ManagerAccountCollection.ManagerAccountCollection",
"@odata.etag": "\"3b99e5593dbe2ae8b91\""
}
Give documentation feedback