cURL
curl --request POST \ --url https://api.example.com/auth/set-password \ --header 'Content-Type: application/json' \ --data ' { "token": "<string>", "password": "<string>" } '
{ "message": "Password has been reset successfully" }
Password set successfully
"Password has been reset successfully"