OpenAPI for Account API

There’s been a few posts here asking about the undocumented Keycloak Account API. While it may change/disappear at any time, I’m aware that some people use it for building a custom account console, or building account information and editing into their applications.

I made OpenAPI definitions of the Account API for those with that use case. Note that it is currently missing the /resources methods, but is otherwise fairly complete. Please submit changes if you find any problems.

1 Like

Great stuff! Thank you very much for your effort!! :pray:

But what does make you think the API may likely disappear? Just because it’s not documented?
I think it is some core functionality of Keycloak self-services for users. It was introduced around v12 due to the fact that the legacy account console was too limited. That being said, also the account API has its limitations… unfortunately.
Is there any other discussion/thread that may lead to your assumption of disappearance?

No. I didn’t mean to imply that it is likely, only that it may go away or change. I certainly hope it doesn’t, as I’ve built several things that require it.

1 Like

Got it!
Some day, also Keycloak may… no, don’t want to think about that, not today! :rofl:

1 Like