Menu
Get Users By User Id
Get users by user id
GET
/admin/realms/{realm}/users/{user-id}Use it in a workflow
- Add a step and choose the Keycloak connector.
- Pick the Get Users By User Id action (under Users).
- Fill in the fields below, then reference the result from later steps as
{{getUsersByUserId.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getUsersByUserId.response.data.<field>}}.
{
"id": "string",
"username": "string",
"firstName": "string",
"lastName": "string",
"email": "string",
"emailVerified": false,
"attributes": {},
"userProfileMetadata": {
"attributes": [
{
"name": "string",
"displayName": "string",
"required": false,
"readOnly": false,
"annotations": {},
"validators": {},
"group": "string",
"multivalued": false,
"defaultValue": "string"
}
],
"groups": [
{
"name": "string",
"displayHeader": "string",
"displayDescription": "string",
"annotations": {}
}
]
},
"enabled": false,
"self": "string",
"origin": "string",
"createdTimestamp": 0
}
Need more? See the Keycloak guide for connection setup and behaviour shared by every action.
Was this page helpful?