Viewing single user
- Print
- PDF
Viewing single user
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
You can view a single user individually.
Requests
- GET /user/{userId}
Request parameters
Parameters | Requirement status | Type | Description | Restrictions |
---|---|---|---|---|
userId | Y | String | User ID |
Responses
Response bodies
{
"userId" : "string",
"loginId" : "string",
"nrn" : "string",
"userProfile" : {
"firstName" : "string",
"lastName" : "string",
"email" : "string",
"emailVerified" : "boolean",
"empNo" : "string",
"phoneCountryCode" : "string",
"phoneNo" : "string",
"phoneNoVerified" : "boolean",
"deptName" : "string"
},
"accessRules" : {
"consoleAccessAllowed" : "boolean",
"apiAccessAllowed" : "boolean"
},
"status" : "string",
"description" : "string",
"lastLoginAt" : "string",
"createdAt" : "string",
"updatedAt" : "string"
}
Parameters | Type | Description | Restrictions |
---|---|---|---|
userId | String | User ID | |
loginId | String | Login ID (email) | |
nrn | String | nrn of the created user | |
userProfile | Object | User profile | |
userProfile.firstName | String | First name | |
userProfile.lastName | String | Last name | |
userProfile.email | String | ||
userProfile.emailVerified | Boolean | Email verification status | |
userProfile.empNo | String | Employee number | |
userProfile.phoneCountryCode | String | Country code for mobile phone number | |
userProfile.phoneNo | String | Mobile phone number | |
userProfile.phoneNoVerified | Boolean | Mobile phone number verification status | |
userProfile.deptName | String | Department name | |
accessRules | Object | Access rules | |
accessRules.consoleAccessAllowed | Boolean | Whether console access is allowed | |
accessRules.apiAccessAllowed | Boolean | Whether API access is allowed | |
status | String | User status (active, suspended, deleted) | |
lastLoginAt | String | Last login time (UTC, e.g., 2023-04-25T13:11:50Z) | |
createdAt | String | Creation time (UTC, e.g., 2023-04-25T13:11:50Z) | |
updatedAt | String | Edit time (UTC, e.g., 2023-04-25T13:11:50Z) | |
description | String | User description |
Errors
Errors that may occur while using this action are listed below. For error response format, see ErrorResponse.
For more information on common errors, see NAVER Cloud Platform API.
HTTP status code | Error code | Error message |
---|---|---|
400 | 9050 | The user does not exist. |
Was this article helpful?