Get user
Это руководство доступно только на английском.
Retrieves detailed information about a specific user.
AuthorizationBearer <JWT>Preferred API authentication. Use a JWT with the api audience.
id*stringThe unique identifier (UUID) of the user to retrieve information for.
uuidResponse message containing detailed information about a specific user.
application/json- response
Response message containing detailed information about a specific user.
username*stringThe username of the user (3-32 lowercase alphanumeric characters with dashes allowed).
role*stringThe role of the user (ADMIN or USER).
"ADMIN""USER"email*stringThe email address of the user.
emailcreatedAt*stringTimestamp when the user account was created.
date-timeupdatedAt*stringTimestamp when the user account was last updated.
date-timelastLoginAt?|Timestamp of the user's last successful authentication. Optional; may be absent if the user has never logged in.
minIssuedAt*stringMinimum issued-at timestamp for valid JWT tokens. Tokens issued before this timestamp are considered invalid. Used to invalidate all sessions by updating this value.
date-timecurl -X GET 'http://127.0.0.1:38765/v1/users/497f6eca-6276-4993-bfeb-53cbbbba6f08'{
"username": "string",
"role": "ADMIN",
"email": "user@example.com",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"lastLoginAt": "2019-08-24T14:15:22Z",
"minIssuedAt": "2019-08-24T14:15:22Z"
}Полезна ли эта страница?
