users
put/users/{id}
Path parameters
idinteger required
id of the user
Request body
Example request
{
"name": "Alice Smith",
"email": "alice.smith@example.com",
"password_hash": "$2b$10$c7Mtd3kRpMjr6VexlxuAleT8Sy3SwPcT.YLCazH5QWBgnATDo5N6O",
"role": 1,
"created_at": "2024-01-01T00:00:00.000Z",
"last_login": "2024-10-01T00:00:00.000Z"
}Response
user