Users
Update Current User
Update the currently authenticated user
post/users/me
Request body
Example request
{
"firstName": "John",
"lastName": "Doe",
"username": "johndoe",
"email": "john@example.com",
"password": "P@ssw0rd!2024",
"role": "developer"
}Response
OK
Example response
{
"createdAt": "2024-02-18T12:00:00Z",
"updatedAt": "2024-02-21T12:15:00Z",
"metadata": {
"key1": "value1",
"key2": "value2"
},
"firstName": "John",
"lastName": "Doe",
"username": "johndoe",
"email": "john@example.com",
"sessions": [
{
"createdAt": "2024-02-18T12:00:00Z",
"updatedAt": "2024-02-21T12:15:00Z",
"metadata": {
"key1": "value1",
"key2": "value2"
},
"lastActiveAt": "2026-01-15T10:30:00.000Z"
}
],
"role": "supportAgent"
}Changes
No recorded changes to this endpoint across all 1 revision of this API.