Update User
API to update the existing user in keycloak
User id of the user to be updated
payload to update user in keycloak
{
"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": {
"attributes": [
"string"
]
},
"realmRoles": [
"string"
],
"clientRoles": {},
"access": {},
"groups": [
"/Oper"
],
"credentials": [
{
"type": "password",
"value": "Oper@123",
"temporary": false
}
],
"email": "string",
"origin": "string",
"self": "string"
}
user id
user created time
username of the user
firstName of the user
lastName of the user
enabled
email verified
array of disableable Credential Types
array of requiredActions
not Before
contains all attributes of user
array of realm roles
contains all client roles
contails access permissions of the group
contains the group info
contains the user credentials
email of the user
origin of the user
self of the user
OK
Invalid Request sent by the user
{
"error": "string"
}
Error message from keycloak
User authentication failed
{
"error": "string"
}
Error message from keycloak
Access to the requested resource/operation is forbidden
{
"error": "string"
}
Error message from keycloak
Cannot find requested resource
{
"error": "string"
}
Error message from keycloak
Internal server error
{
"error": "string"
}
Error message from keycloak