Menu
Update Users By User Id
Update users by user id
PUT
/admin/realms/{realm}/users/{user-id}Use it in a workflow
- Add a step and choose the Keycloak connector.
- Pick the Update Users By User Id action (under Users).
- Fill in the fields below, then reference the result from later steps as
{{updateUsersByUserId.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body 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
}
Response
Returns 204 with a any. Read it in later steps with {{updateUsersByUserId.response.data.<field>}}.
Need more? See the Keycloak guide for connection setup and behaviour shared by every action.
Was this page helpful?