Skip to main content

Update User

Update user profile information.

Quick Navigation

Endpoint

PUT /api/v1/users/{user_id}

Headers

HeaderRequiredDescription
AuthorizationYesBearer <access_token>
Content-TypeYesapplication/json

Path Parameters

ParameterTypeRequiredDescription
user_idintegerYesUser ID

Request Body

{
"display_name": "John Smith",
"profile_image_url": "https://example.com/avatar.jpg"
}

Response

Success (200)

{
"success": true,
"data": {
"user": {
"id": 123,
"display_name": "John Smith",
"updated_at": "2024-01-01T13:00:00Z"
},
"message": "User updated successfully"
},
"message": "User updated successfully"
}

Features

  • Profile updates
  • Permission validation
  • Audit logging

Status

[WARNING] TODO: Not Implemented

This endpoint is defined in the router but the implementation logic is not yet complete.