Updates a ZooKeeper Simple Authentication and Security Layer (SASL) user.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:UpdateZooKeeperSaslUser |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the instance. |
mse_prepaid_public_cn-tl327w**** |
| SaslUser |
array<object> |
Yes |
The list of users to update. |
|
|
object |
No |
|||
| UserName |
string |
No |
The user name. |
test |
| Password |
string |
No |
The password. |
xxxxxx |
| Description |
string |
No |
A description for the user. |
test |
| OriginPassword |
string |
No |
The original password. This parameter is required to change the password. |
origin-password |
| Reload |
boolean |
No |
Specifies whether the changes take effect immediately. |
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
RestResult<boolean> |
||
| RequestId |
string |
The request ID. |
316F5F64-F73D-42DC-8632-01E308B6**** |
| Data |
boolean |
Indicates whether the operation succeeded. |
True |
Examples
Success response
JSON format
{
"RequestId": "316F5F64-F73D-42DC-8632-01E308B6****",
"Data": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalRequest | Invalid request:%s | Invalid request: %s |
| 400 | InvalidParameter | Parameter error:%s | Request parameter error: %s |
| 500 | InternalError | Console error. Try again later:%s | Console error. Try again later: %s |
| 403 | NoPermission | You are not authorized to perform this operation:%s | You do not have the permission to use this interface:%s |
| 404 | NotFound | Not found:%s | The resource does not exist:%s |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.