API Docs Help

Update user

PUT method/user/{username}

This can only be done by the logged in user.

Request parameters

{ "id": 10, "username": "theUser", "firstName": "John", "lastName": "James", "email": "john@email.com", "password": "12345", "phone": "12345", "userStatus": 1 }
const userPayload = { id: 10, username: "theUser", firstName: "John", lastName: "James", email: "john@email.com", password: "12345", phone: "12345", userStatus: 1 }; console.log(userPayload);

Responses

Last modified: 09 November 2024