Skip to main content

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

FieldTypeDescription

Name

StringManagerAccountCollection

Members

ArrayItems: A reference link to an element of accounts.

Description

StringA collection of ManagerAccount resource instances.

Status code

HTTP Status CodeError Message ID
500InternalError

Example

The following example JSON response is returned:

{
"@odata.context": "/redfish/v1/$metadata#ManagerAccountCollection.ManagerAccountCollection",
"@odata.etag": "\"865C400F\"",
"@odata.id": "/redfish/v1/AccountService/Accounts",
"@odata.type": "#ManagerAccountCollection.ManagerAccountCollection",
"Description": "A collection of ManagerAccount resource instances.",
"Members": [
{
"@odata.id": "/redfish/v1/AccountService/Accounts/1"
},
{
"@odata.id": "/redfish/v1/AccountService/Accounts/2"
}
],
"Members@odata.count": 2,
"Name": "ManagerAccountCollection"
}