Modifies the logon password of a specified database account under a tenant.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
oceanbase:ModifyTenantUserPassword |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| UserName |
string |
Yes |
The name of the database account. Certain reserved keywords such as SYS and root cannot be used. |
pay_test |
| TenantId |
string |
Yes |
The tenant ID. |
t4pnum**** |
| UserPassword |
string |
Yes |
The logon password of the database account. The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. The password must be 10 to 32 characters in length. Supported special characters are: !@#$%^&* ()_ +-=. |
!Aliyun4Oceanbase |
| InstanceId |
string |
Yes |
The OceanBase cluster ID. |
ob317v4uif**** |
| EncryptionType |
string |
No |
The encryption method. |
RSA |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
EE205C00-30E4-XXXX-XXXX-87E3A8A2AA0C |
Examples
Success response
JSON format
{
"RequestId": "EE205C00-30E4-XXXX-XXXX-87E3A8A2AA0C"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | The request processing has failed due to some unknown error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.