GET
/
user
/
{id}

Authorizations

authjs session token
string
cookie
required

Session token provided by AuthJS

Path Parameters

id
string
required

User ID

Response

200
application/json
User retrieved successfully
id
string
name
string
email
string
image
string
role
string
createdAt
string
updatedAt
string

Was this page helpful?