Update user
PUT
/user/{username}This can only be done by the logged in user.
Request
Path Params
username
string
required
name that need to be deleted
Body Params application/x-www-form-urlencoded
id
integer
optional
Example:
10
username
string
optional
Example:
theUser
firstName
string
optional
Example:
John
lastName
string
optional
Example:
James
email
string
optional
Example:
john@email.com
password
string
optional
Example:
12345
phone
string
optional
Example:
12345
userStatus
integer
optional
User Status
Example:
1
Request samples
Responses
successful operation(200)
successful operation
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{}
Last modified: 2 years ago