PATCH /citizen/password
Key | Type | Required | Description |
---|---|---|---|
password |
string | 🌕 | current citizen password |
new_password |
string | 🌕 | new citizen password |
{
"password":"12345",
"new_password":"AAbb1234"
}
{
"statusCode": 400,
"error": "Bad Request",
"message": "WRONG_CITIZEN_PASSWORD"
}
{
"message": "SUCCEDDED"
}
POST /citizen/request_reset_password
NO
Key | Type | Required | Description |
---|---|---|---|
email |
string | 🌕 |
{
"email": "[email protected]"
}
POST /citizen/reset_password
YES (The token from reset_password URL)
NO
Key | Type | Required | Description |
---|---|---|---|
new_password |
string | 🌕 | 新的密碼 |
{
"new_password": "sEcr1t"
}