Get Users

Get Users

List the existing users. Only admin users can retrieve this information. This action is currently restricted to users mapped through VMware Identity Manager

Request
URI
GET
https://vrni.example.com/api/ni/settings/users
COPY
Query Parameters
number
size
Optional

page size of results

string
cursor
Optional

cursor from previous response

string
type
Required

type of user


Authentication
This operation uses the following authentication methods.
Responses
200

Success

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

results

string
cursor
Optional

cursor

integer
total_count
Optional

total_count


400

Bad Request

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


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


403

Forbidden

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