users

Get User details

Returns user details by specified user id.

get/auth/api/v1/user/{userId}

Request

  • Base URL
    https://api.opengovernance.io
  • Auth
    API key in header Authorization

Path parameters

userIdstring required

User ID

Response

OK

blockedboolean

Is the user blocked or not

createdAtstring

Creation timestamp in UTC

emailstring

Email address of the user

email_verifiedboolean

Is email verified or not

idinteger

Unique identifier for the user

last_activitystring

Last activity timestamp in UTC

role_name'admin' | 'editor' | 'viewer'
usernamestring

Username

Example response

{
  "createdAt": "2023-03-31T09:36:09.855Z",
  "email": "johndoe@example.com",
  "email_verified": true,
  "id": 1,
  "last_activity": "2023-04-21T08:53:09.928Z",
  "username": "John Doe"
}

Changes

No recorded changes to this operation across all 1 revision of this API.