v1

latestOpenAPI 3.0.02026-07-175652103.9 KB
user

Get the Current User

This function is an API endpoint that allows an authenticated user to retrieve their current user information. It is tagged with "user" for OpenAPI documentation.

Parameters

  • request: The request data, which includes the current user information. <br>

Returns

If successful, this function returns a Json<CurrentUserResponse> object, which includes the current user information. <br> If the user is not authorized, this function returns a status::Unauthorized error. <br>

Errors

This function will return an error if the system is in maintenance mode, or if the user is not authorized.

post/api/currentUser

Request body

idstring required
uuidstring required

Response

errorboolean required
namestring required
emailstring nullable
adminboolean required