Queries the account information of PolarDB-X Search.
Operation description
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| DBInstanceName |
string |
Yes |
The instance ID. |
pxc-xxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
A501A191-BD70-5E50-98A9-C2A486A82**** |
| Data |
object |
The data struct. |
|
| PasswordLastModified |
string |
The time when the password was last modified. |
2026-08-21T12:00:00Z |
| Username |
string |
The account name of the OpenSearch instance. |
elastic |
| Accounts |
array<object> |
The list of accounts. |
|
|
object |
The list of accounts. |
||
| Username |
string |
The account name of the OpenSearch instance. |
elastic |
| AccountType |
string |
The account type.
|
2,3,4 |
| AccountStatus |
string |
The account status. Valid values:
|
1 |
| AccessDeniedDetail |
object |
The details of the access denial. |
|
| AuthAction |
string |
The authentication action. |
xxx |
| AuthPrincipalType |
string |
The authentication principal type. |
222 |
| AuthPrincipalOwnerId |
string |
The owner ID of the authentication principal. |
111 |
| AuthPrincipalDisplayName |
string |
The display name of the authentication principal. |
xxx |
| PolicyType |
string |
The policy type. |
PRIORITY |
| NoPermissionType |
string |
NoPermissionType |
ImplicitDeny |
| EncodedDiagnosticMessage |
string |
The diagnostic information. |
AQEAAAAAaKPfwjY0MzMyODRGLUZCQkQtNTA1RS04MUUxLTc5NTkzODk2MUIzMg== |
Examples
Success response
JSON format
{
"RequestId": "A501A191-BD70-5E50-98A9-C2A486A82****",
"Data": {
"PasswordLastModified": "2026-08-21T12:00:00Z",
"Username": "elastic",
"Accounts": [
{
"Username": "elastic",
"AccountType": "2,3,4",
"AccountStatus": "1"
}
]
},
"AccessDeniedDetail": {
"AuthAction": "xxx",
"AuthPrincipalType": "222",
"AuthPrincipalOwnerId": "111",
"AuthPrincipalDisplayName": "xxx",
"PolicyType": "PRIORITY",
"NoPermissionType": "ImplicitDeny",
"EncodedDiagnosticMessage": "AQEAAAAAaKPfwjY0MzMyODRGLUZCQkQtNTA1RS04MUUxLTc5NTkzODk2MUIzMg=="
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.