I’m trying to figure out how to trigger a VERIFY_EMAIL action with keycloak rest api. If i send a request with an empty body, keycloak sends an UPDATE_ACCOUNT email. What should the request body look like in order to send a verify email only?
Execute action email endpoint: https://{keycloak-url}/auth/admin/realms/master/users/{user-id}/execute-actions-email Keycloak version: 17.0.1
Can you post your full request? It should work properly with a body of ["VERIFY_EMAIL"]
["VERIFY_EMAIL"]
Docs for that endpoint: https://www.keycloak.org/docs-api/20.0.2/rest-api/index.html#_executeactionsemail
thank you, working request if anyone else needs it:
curl --location --request PUT 'https://{keycloak-url}/auth/admin/realms/master/users/{user-id}/execute-actions-email' \ --header 'Content-Type: application/json' \ --data-raw '["VERIFY_EMAIL"]'