Gets the details of a user
Header Parameter Type Description api_token string You can get the REST API from Settings > Advanced > API tokens .
Route Parameters Parameter Required Type Description userId Yes string The ID of the user
Sample Response {
"result": {
"id": "5ad03d2b6d59890e8635a596",
"first_name": "Danny",
"last_name": "Brown",
"email_id": "danny.brown@document360.io",
"profile_logo_url": "https://cdn.document360.io/users/87bdf6bf-aa19-480f-aab3-2c6bba1dd5c1.JPG?sv=2020-08-04&st=2021-12-27T10%3A04%3A48Z&se=2021-12-27T10%3A05%3A18Z&sr=b&sp=r&sig=GnTDMCRKT%2FjHiHLNx7tEgt2gYpD3DO8sJmIkmrGU75c%3D",
"last_sign_in": "2021-08-20T15:16:54.475Z",
"portal_role_infos": [
{
"role_name": "Owner",
"role_id": "c1b8ae08-78d5-41d9-b3c4-3b0892b05ca8",
"group_name": null
}
],
"content_role_infos": [
{
"version_access_info": null,
"language_access_info": null,
"category_access_info": null,
"article_access_info": null,
"access_scope_level": 3,
"role_name": "Editor",
"role_id": "62810dc1-2d21-422e-bdfb-c3daebf91dd3",
"group_name": null
}
],
"associated_groups": []
},
"extension_data": null,
"context": null,
"success": true,
"errors": [],
"warnings": [],
"information": []
}
Response Data Parameter Type Description user_id string The ID of the user first_name string First name of the user last_name string Last name of the user email_id string Email address of the user profile_logo_url string Profile image URL of the user last_login_at DateTime Last login date of the user portal_role object The portal role of the user content_roles object[] The list of content roles of the user
Response Data > portal_role Parameter Type Description role_name string The name of the portal role role_id string The ID of the portal role
Response Data > content_roles Parameter Type Description role_name string The name of the content role role_id string The ID of the content role access_scope_level enum The access level for the user. 0-None, 1-Category, 2-Version, 3-Project, 4-Language version_access object Version details language_access object Language details category_access object Category details article_access object Article details
Response Data > content_roles > version_access Parameter Type Description version_name string The name of the project version version_id string The project version ID to which the user has access
Response Data > content_roles > language_access Parameter Type Description language_id string The language ID for which the user has access language_name string The name of the language language_code string The code of the language
Response Data > content_roles > category_access Parameter Type Description category_id string The category ID for which the user has access category_name string The name of the category
Response Data > content_roles > article_access Parameter Type Description article_name string The name of the article
Was this article helpful?
Yes
No
Thank you for your feedback! Our team will get back to you