Update User
Update user profile information.
Quick Navigation
Endpoint
PUT /api/v1/users/{user_id}
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer <access_token> |
Content-Type | Yes | application/json |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
user_id | integer | Yes | User 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.