Skip to main content
POST
/
v1
/
users
/
me
/
change-password
Change Password
curl --request POST \
  --url http://localhost:8000/v1/users/me/change-password \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "current_password": "<string>",
  "new_password": "<string>"
}
'
{
  "data": null,
  "message": "<string>",
  "success": true
}

Authorizations

Authorization
string
header
required

Enter your JWT access token

Body

application/json
current_password
string
required
Minimum string length: 1
new_password
string
required
Required string length: 8 - 100

Response

Successful Response

data
unknown
message
string | null
success
boolean
default:true