Change Password
Developing
Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params application/json
{
"oldPassword": "iwXayrt/ydXlmylKjvL8gw==",
"newPassword": "iwXayrt/ydXlmylKjvL8gw==",
"confirmPassword": "iwXayrt/ydXlmylKjvL8gw=="
}
Request Code Samples
curl --location --request PUT 'https://service-dash.dlabssaas.io/rest/web/secured/participant/password/change' \
--header 'Origin: https://bpjs.dash.dlabssaas.io' \
--header 'Referer: https://bpjs.dash.dlabssaas.io/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"oldPassword": "iwXayrt/ydXlmylKjvL8gw==",
"newPassword": "iwXayrt/ydXlmylKjvL8gw==",
"confirmPassword": "iwXayrt/ydXlmylKjvL8gw=="
}'
Responses
application/json {
"status": "success",
"data": true,
"info": {
"id": "SUCCESS_SAVE_DATA",
"message": "Password changed successfully",
"messageEn": null,
"messageId": null,
"field": null,
"redirect": null
}
}
Modified at 2024-07-25 02:13:13