Get User by ID
Endpoints
Get User by ID
Retrieve a specific user by their unique identifier
GET
Get User by ID
Endpoint
Path Parameters
Unique user identifier.Example:
0f4df2de-fffb-4a24-9891-381ecf4f0f87Response
Unique identifier for the user.Example:
0f4df2de-fffb-4a24-9891-381ecf4f0f87The user’s username.Example:
jdoeThe user’s email address.Example:
jdoe@example.comThe user’s first name.Example:
JohnThe user’s last name.Example:
DoeThe user’s role.Example:
USERISO 8601 timestamp when the user was created.Example:
2024-01-15T10:30:00ISO 8601 timestamp when the user was last updated.Example:
2024-01-15T10:30:00Whether the user account is active.Example:
trueStatus Codes
User retrieved successfully
User with the specified ID does not exist
An unexpected error occurred