Confirm Password¶
Confirm the password of a login user.
Operation Permissions¶
User login to Application Portal is required.
Request Format¶
POST https://{apigw-address}/app-portal-service/v2.3/password/confirm
Request Parameters (Header)¶
Name |
Mandatory/Optional |
Data Type |
Description |
---|---|---|---|
Authorization |
Mandatory |
String |
The access token (or bearer token). The format of the parameter’s string is Bearer {your token}. Refer to Log In or Refresh Access Token to learn how to get the access token. |
Request Parameters (Body)¶
Name |
Mandatory/Optional |
Data Type |
Description |
---|---|---|---|
password |
Mandatory |
String |
User password |
Response Parameters¶
Name |
Data Type |
Description |
---|---|---|
data |
Boolean |
True for correct password, false for incorrect password |
Error Codes¶
Error Code |
Description |
---|---|
31400 |
Password is required. |
31401 |
User login is required. |
31429 |
Too many attempts with incorrect passwords. |
Samples¶
Request Sample¶
url: https://{apigw-address}/app-portal-service/v2.3/password/confirm
method: POST
requestBody:
{
"password": "your_password"
}
Return Sample¶
{
"code": 0,
"data": true,
"message": "OK"
}