Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Keycloak API has any endpoint to update account email?

I am trying to change account email in Keycloak, but did not find any useful information in the Keycloak official documentation.

I tried work with this endpoint

PUT /admin/realms/{realm}/users/{id}/execute-actions-email

but it only accepts an array of actions and sends to a user an email to perform specified actions.

But I want to update it directly performing my request. Is this possible?

like image 828
Sergey Podgornyy Avatar asked Oct 15 '25 20:10

Sergey Podgornyy


1 Answers

I think you are looking for below API.

PUT /admin/realms/{realm}/users/{id}

with a JSON payload as below.

{
    "email":"[email protected]" 
}
like image 134
lkamal Avatar answered Oct 18 '25 19:10

lkamal



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!