Create User
API creates user group in keycloak. Username must be unique (password value must be of min. length 8, atleast contains 1 uppercase character, lowercase character, special character, digit)
describes keycloak user
{
"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