cURL
curl --request GET \ --url https://api.example.com/api/user/detail/{id}
{ "code": 123, "status": "<string>", "user": { "id": 123, "name": "<string>", "surname": "<string>", "email": "<string>", "role": "<string>", "description": "<string>", "created_at": "<string>", "updated_at": "<string>" }, "message": "<string>" }
Retrieve detailed information about a specific user by their ID
GET /api/user/detail/{id}
success
error
ROLE_USER
curl -X GET "https://api.example.com/api/user/detail/1"
{ "code": 200, "status": "success", "user": { "id": 1, "name": "John", "surname": "Doe", "email": "[email protected]", "role": "ROLE_USER", "description": "Full-stack developer", "created_at": "2024-01-15T10:30:00.000000Z", "updated_at": "2024-01-20T14:45:00.000000Z" } }