Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

Resetting the Password

Updated on 2023-07-20 GMT+08:00

Function

This API is used to reset the password.

URI

POST /v2/{project_id}/instances/{instance_id}/password

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID. For details about how to obtain it, see Obtaining a Project ID.

instance_id

Yes

String

Instance ID.

Request Parameters

Table 2 Request body 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:- Uppercase letters- Lowercase letters- Digits- Special characters`~!@#$%^&*()-_=+\|[{}];:'"",<.>/? and spaces, and cannot start with a hyphen (-).

Response Parameters

None

Example Requests

Resetting a password

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.

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback