Resetting a Password
Function
This API is used to reset the administrator password of an ADG instance.
Calling Method
For details, see Calling APIs.
URI
POST /v1/{project_id}/instances/{instance_id}/reset-password
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
instance_id |
Yes |
String |
Instance ID. |
|
project_id |
Yes |
String |
Project ID. |
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
admin_name |
No |
String |
Administrator name. The value can be sysadmin, secadmin, or audadmin. |
|
admin_pw |
No |
String |
Administrator password. |
Response Parameters
Status code: 200
Operation succeeded.
Status code: 201
Created.
None
Example Requests
POST /v1/{project_id}/instances/{instance_id}/reset-password
{
"admin_name" : "string",
"admin_pw" : "string"
}
Example Responses
None
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
Operation succeeded. |
|
201 |
Created. |
|
401 |
Unauthorized. |
|
403 |
Access denied. |
|
404 |
Not found. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot