mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-15 20:44:46 +00:00
Amend examples (#211)
This commit is contained in:
9
examples/user/updatePassword/curl/updateTheAccountPassword.sh
Executable file
9
examples/user/updatePassword/curl/updateTheAccountPassword.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
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"
|
||||
}'
|
||||
Reference in New Issue
Block a user