# Enabling admin APIs in EHRBase **Category:** [Platform](https://discourse.openehr.org/c/platform-implem/7) **Created:** 2021-06-06 08:42 UTC **Views:** 1105 **Replies:** 3 **URL:** https://discourse.openehr.org/t/enabling-admin-apis-in-ehrbase/1606 --- ## Post #1 by @Dileep_V_S I am running the latest EHRbase using docker-compose and am unable to see the admin APIs in swagger. Tried both AUTHUSER & AUTHADMINUSER logins. Is there any environment variable setting to enable this? @jake.smolka regards --- ## Post #2 by @jake.smolka Hey @Dileep_V_S! Have you read [our admin API documentation](https://ehrbase.readthedocs.io/en/latest/03_development/07_admin/index.html)? Please also use the `ADMINAPI_ACTIVE` env var. And for swagger: As I mentioned [here](https://github.com/ehrbase/ehrbase/issues/504#issuecomment-844226078) the our swagger UI is going to change and therefore it is, in its current form, not our priority. But, of course, our own API additions will be documented with a tool like swagger UI. --- ## Post #3 by @Dileep_V_S I did look at the admin API documentation. But I seem to have gone directly to the security sub-menu😱. Thanks for pointing this out. As for the swagger, I am afraid, you may still need to maintain some documentation for the management and admin APIs as they may not be part of the openEHR official REST API specs. Or am I missing something? regards --- ## Post #4 by @jake.smolka [quote="Dileep_V_S, post:3, topic:1606, full:true"] As for the swagger, I am afraid, you may still need to maintain some documentation for the management and admin APIs as they may not be part of the openEHR official REST API specs. Or am I missing something? [/quote] Totally true, that's what I was trying to say with "But, of course, our own API additions will be documented with a tool like swagger UI." :slight_smile: --- **Canonical:** https://discourse.openehr.org/t/enabling-admin-apis-in-ehrbase/1606 **Original content:** https://discourse.openehr.org/t/enabling-admin-apis-in-ehrbase/1606