# EHRbase Admin API

**Canonical:** https://apis.io/apis/ehrbase/admin-api/  
**Provider:** EHRbase — https://apis.io/providers/ehrbase/  
**Base URL:** https://sandkiste.ehrbase.org/ehrbase  
**Documentation:** https://docs.ehrbase.org/docs/EHRbase/Explore/Admin-REST

EHRbase Admin API is one of 3 APIs that [EHRbase](https://apis.io/providers/ehrbase/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Administration, openEHR, and Healthcare. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

The opt-in administrative surface - 8 paths and 11 operations for physical deletion of EHRs, compositions, directories and stored queries, and for replacing or removing operational templates. Disabled by default and gated on the admin role; every operation declares 401 and 403, and template operations return 422 when compositions still reference the template. These changes are irreversible.

## Machine-readable artifacts (3)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/ehrbase/refs/heads/main/openapi/ehrbase-admin-api-openapi.json
- **Overlay** — https://raw.githubusercontent.com/api-evangelist/ehrbase/refs/heads/main/overlays/ehrbase-admin-overlay.yaml
- **Documentation** — https://docs.ehrbase.org/docs/EHRbase/Explore/Admin-REST

## Other EHRbase APIs (2)

- [EHRbase openEHR REST API](https://apis.io/apis/ehrbase/openehr-rest-api/)
- [EHRbase Status and Metrics API](https://apis.io/apis/ehrbase/status-api/)

## Tags

Administration, openEHR, Healthcare

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/ehrbase/admin-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/ehrbase/.
