forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Chen, Junjie <chenjunjie@huawei.com> Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
4.8 KiB
4.8 KiB
Resetting the Password
Function
This API is used to reset the password.
URI
POST /v2/{project_id}/instances/{instance_id}/password
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. |
instance_id |
Yes |
String |
Instance ID. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
new_password |
No |
String |
The password can contain 8 to 32 characters, and must contain at least three types of the following characters:
|
Response Parameters
None
Example Requests
POST https://{endpoint}/v2/{project_id}/instances/{instance_id}/password { "new_password" : "********" }
Example Responses
None
Status Codes
Status Code |
Description |
---|---|
204 |
The password is reset successfully. |
Error Codes
See Error Codes.
Parent topic: Instance Management