API Reference
cURL
curl --request POST \ --url https://api.example.com/api/auth/change-password \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "current_password": "<string>", "new_password": "<string>" } '
{ "success": true, "message": "<string>" }
Change user password endpoint
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Change password request model
Successful Response
Change password response model