Files
m3o-go/curl/user/updatePassword/updateTheAccountPassword.sh
2021-10-29 10:40:25 +00:00

9 lines
288 B
Bash
Executable File

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