cURL
curl --request PUT \ --url http://api/v3/user/{username} \ --header 'Content-Type: application/json' \ --data ' { "id": 10, "username": "theUser", "firstName": "John", "lastName": "James", "email": "[email protected]", "password": "12345", "phone": "12345", "userStatus": 1 } '
This can only be done by the logged in user.
name that need to be deleted
Update an existent user in the store
10
"theUser"
"John"
"James"
"[email protected]"
"12345"
User Status
1
successful operation