Get User

Get User

Get details of a user. Only admin users can perform this action. This action is currently restricted to user mapped through VMware Identity Manager

Request
URI
GET
https://vrni.example.com/api/ni/settings/users/{id}
COPY
Path Parameters
string
id
Required

entity id


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns UserResponse of type(s) application/json
{
    "id": "[email protected]",
    "user_type": "VIDM",
    "username": "alleymartin123",
    "domain": "vidmlabs.com",
    "display_name": "alley martin",
    "role": "ADMIN"
}
user_type
Optional

user_type

string
id
Optional

Unique identifier assigned to user.

role
Optional

role

string
username
Optional

Username of the user

string
domain
Optional

Domain name to which group belongs to.

string
display_name
Optional

User's display name


401

Unauthorized

Returns ApiError of type(s) application/json
{
    "code": 0,
    "message": "string",
    "details": [
        {
            "code": 0,
            "message": "string",
            "target": [
                "string"
            ]
        }
    ]
}
integer As int32 As int32
code
Optional

code

string
message
Optional

message

array of ErrorDetail
details
Optional

details


404

Not Found

Returns ApiError of type(s) application/json
{
    "code": 0,
    "message": "string",
    "details": [
        {
            "code": 0,
            "message": "string",
            "target": [
                "string"
            ]
        }
    ]
}
integer As int32 As int32
code
Optional

code

string
message
Optional

message

array of ErrorDetail
details
Optional

details


500

Internal Error

Operation doesn't return any data structure