Get Users

Get Users

API return all users in keycloak

Request
URI
GET
https://{api_host}/tcsa.host.com/tcsa/api/auth-management/v1/users
COPY
Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns Array of KeycloakGetUser of type(s) application/json
[
    {
        "id": "c43add41-7fe0-4821-bc25-ef503abb9008",
        "createdTimestamp": "number",
        "username": "oper",
        "firstName": "oper",
        "lastName": "NGINX",
        "enabled": true,
        "emailVerified": false,
        "disableableCredentialTypes": [
            "string"
        ],
        "requiredActions": [
            "string"
        ],
        "notBefore": "number",
        "attributes": {
            "members": [
                "vmware"
            ]
        },
        "realmRoles": [
            "string"
        ],
        "clientRoles": {},
        "access": {},
        "groups": [
            "/Oper"
        ],
        "email": "string",
        "origin": "string",
        "self": "string"
    }
]

400

Invalid Request sent by the user

Returns KeycloakErrorDetails of type(s) application/json
{
    "error": "string"
}
string
error
Optional

Error message from keycloak


401

User authentication failed

Returns KeycloakErrorDetails of type(s) application/json
{
    "error": "string"
}
string
error
Optional

Error message from keycloak


403

Access to the requested resource/operation is forbidden

Returns KeycloakErrorDetails of type(s) application/json
{
    "error": "string"
}
string
error
Optional

Error message from keycloak


404

Cannot find requested resource

Returns KeycloakErrorDetails of type(s) application/json
{
    "error": "string"
}
string
error
Optional

Error message from keycloak


500

Internal server error

Returns KeycloakErrorDetails of type(s) application/json
{
    "error": "string"
}
string
error
Optional

Error message from keycloak