All Products
Search
Document Center

PolarDB:ResetOpenSearchPassword

Last Updated:Sep 10, 2026

Resets the password of a PolarDB-X Search instance without requiring the old password (RAM permission check required).

Operation description


Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

Yes

The region ID.

cn-shanghai

DBInstanceName

string

Yes

The instance ID.

pxc-********

AccountPassword

string

Yes

The new password. The password must be 6 to 32 characters in length and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters (!@#$&%^*()_+-=).

*****

AccountName

string

Yes

The account name.

testAccount

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

Id of the request

C458B1E8-1683-3645-B154-6BA32080EEA

Data

object

The monitoring data.

Message

string

The additional information returned by the operation. "success" is returned if the operation is successful. Otherwise, the corresponding error code is returned.

【环境:huanghe】\nhuanghe 503_UC_OUTBOUND告警超过阈值!\n\n详情请查看: https://grafana-cn-lbj34sreu03.grafana.aliyuncs.com/d/_rOiq2lNk/asm-status-code-monitor?var-datasource=DataSource-HUANGHE\n

PasswordLastModified

string

The time when the password was last modified.

2026-08-21T12:00:00Z

AccessDeniedDetail

object

The details of the access denial.

AuthAction

string

The authentication action.

xxx

AuthPrincipalType

string

The type of the authentication principal.

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.

System

NoPermissionType

string

The type of the missing permission.

ImplicitDeny

EncodedDiagnosticMessage

string

The encoded diagnostic message.

AQEAAAAAaKPfwjY0MzMyODRGLUZCQkQtNTA1RS04MUUxLTc5NTkzODk2MUIzMg==

Examples

Success response

JSON format

{
  "RequestId": "C458B1E8-1683-3645-B154-6BA32080EEA",
  "Data": {
    "Message": "【环境:huanghe】\\nhuanghe 503_UC_OUTBOUND告警超过阈值!\\n\\n详情请查看: https://grafana-cn-lbj34sreu03.grafana.aliyuncs.com/d/_rOiq2lNk/asm-status-code-monitor?var-datasource=DataSource-HUANGHE\\n",
    "PasswordLastModified": "2026-08-21T12:00:00Z"
  },
  "AccessDeniedDetail": {
    "AuthAction": "xxx",
    "AuthPrincipalType": "222",
    "AuthPrincipalOwnerId": "111",
    "AuthPrincipalDisplayName": "xxx",
    "PolicyType": "System",
    "NoPermissionType": "ImplicitDeny",
    "EncodedDiagnosticMessage": "AQEAAAAAaKPfwjY0MzMyODRGLUZCQkQtNTA1RS04MUUxLTc5NTkzODk2MUIzMg=="
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.