Files
services/examples/user/updatePassword/curl/updateTheAccountPassword.sh
2021-09-21 16:36:39 +01:00

9 lines
290 B
Bash
Executable File

curl "https://api.m3o.com/v1/user/UpdatePassword" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $MICRO_API_TOKEN" \
-d '{
"confirmPassword": "myEvenMoreSecretPass123",
"id": "usrid-1",
"newPassword": "myEvenMoreSecretPass123",
"oldPassword": "mySecretPass123"
}'