[keycloak-user] Getting 404 error while calling the create user API of keycloak 4.5
Shubham Akodiya
sakodiya at grepruby.com
Sun Nov 18 08:54:51 EST 2018
Hi,
I'm getting the 404 error while calling the create user API. I've gone
through the steps which are explained in this link
<https://www.keycloak.org/docs-api/4.5/rest-api/index.html#_users_resource> but
still, it gives the 404 error.
URL - http://localhost:8080/auth/{realm_name}/users
METHOD - Post
Headers -
Content-Type = "application/json"
Authorization = "bearer <token>"
Body -
{
"username": "rodrigo.sasaki",
"enabled": true,
"totp": false,
"emailVerified": false,
"firstName": "Rodrigo",
"lastName": "Sasaki",
"email": "rodrigo.sasaki at email.com.br",
"credentials": [
{
"type": "password",
"value": "myPassword"
}
]
}
More information about the keycloak-user
mailing list