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

String“ManagerAccountCollection”

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:

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