updateUser #
Updates a Keycloak user's information.
Parameters #
Parameter | Type | Description | Required |
---|---|---|---|
kuid | string | Kuzzle user ID | yes |
string | User email | yes | |
firstName | string | User first name | yes |
lastName | string | User last name | yes |
Websocket #
await kuzzle.query({
controller: 'keycloak',
action: 'updateUser',
_id: '<kuid>',
body: {
content: {
email: 'updated@example.com',
firstName: 'Updated',
lastName: 'User'
}
}
});
HTTP #
PUT http://<host>:<port>/keycloak/users/<kuid>
Content-Type: application/json
{
"content": {
"email": "updated@example.com",
"firstName": "Updated",
"lastName": "User"
}
}