Skip to content
Blume is now publicly available.
Blume
Esc
navigateopen⌘Jpreview

Update user resource.

This can only be done by the logged in user.

PUT/user/{username}
Path parameters
usernamestringrequired
name that need to be deleted
Request body
application/json
Update an existent user in the store
idinteger<int64>
usernamestring
firstNamestring
lastNamestring
emailstring
passwordstring
phonestring
userStatusinteger<int32>
User Status
Responses
200successful operation
400bad request
404user not found
defaultUnexpected error
Request
curl -X PUT "/api/v3/user/string" \
  -H "Content-Type: application/json" \
  -d '{
  "id": 10,
  "username": "theUser",
  "firstName": "John",
  "lastName": "James",
  "email": "john@email.com",
  "password": "12345",
  "phone": "12345",
  "userStatus": 1
}'
Response
successful operation