Querying Information About a User Service
Function
This interface is used to query information about a user service.
Syntax
Operation type: GET
URL: https://device_ip/redfish/v1/AccountService
Request header:
X-Auth-Token: auth_value
Request message body: None
Usage Guidelines
None
Example
Request:
GET https://10.10.10.10/redfish/v1/AccountService
Request header:
X-Auth-Token: auth_value
Request message body: None
Response:
{
"@odata.context": "/redfish/v1/$metadata#AccountService",
"@odata.id": "/redfish/v1/AccountService",
"@odata.type": "#AccountService.v1_11_0.AccountService",
"Id": "AccountService",
"Name": "Account Service",
"PasswordExpirationDays": 90,
"Accounts": {
"@odata.id": "/redfish/v1/AccountService/Accounts"
}
}
Response code: 200
Output Description
Field |
Type |
Description |
|---|---|---|
@odata.context |
Character string |
OData description of an AccountService resource model. |
@odata.id |
Character string |
Path to access an AccountService resource. |
@odata.type |
Character string |
AccountService resource type. |
Id |
Character string |
ID of an AccountService resource. |
Name |
Character string |
AccountService resource name. |
PasswordExpirationDays |
Number |
Password validity period. The value ranges from 0 to 365. The default value is 90 days. The value 0 indicates that the password never expires. |
Accounts |
Object |
Path to access an Accounts interface resource. |