- Back to home
- Core
- Authentication
- User
- Point Reward
- Notification
- HealthcheckGET
- Renew OTPPOST
Change Password V1
Developing
PUT
/core/v1/users/profile/change-password
Last modified:2025-03-12 08:24:28
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Body Params application/json
currentPassword
string <password> | null
optional
newPassword
string <password>
required
isCreatePassword
boolean
required
Default:
false
Example
{
"currentPassword": "pa$$word",
"newPassword": "pa$$word",
"isCreatePassword": false
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT '/core/v1/users/profile/change-password' \
--header 'Content-Type: application/json' \
--data-raw '{
"currentPassword": "pa$$word",
"newPassword": "pa$$word",
"isCreatePassword": false
}'
Responses
🟢200Success
application/json
Body
object {0}
Example
{}