Skip to main content

Get current user

GET 

/users/me

The Get current user request allows you to retrieve information about the currently logged in user in ANSCER ANYA. This request does not require any additional parameters, and will return a JSON object containing information about the user, including their name, email, and role.

Request

Responses

User details

Schema
    _id uuid
    name string

    Possible values: >= 3 characters and <= 50 characters

    email email

    Possible values: >= 5 characters and <= 255 characters

    isActive boolean
    role userRoles

    Possible values: [developer, admin, user]

    createdBy object

    The user who created this user

    _id string
    name string
    email email
    updatedBy object

    The user who last updated this user

    _id string
    name string
    email email
    createdAt date-time

    The date and time this user was created

    updatedAt date-time

    The date and time this user was last updated

Loading...