---
title: "Hard-remove a member from a community — data-entry correction only (#285)"
method: DELETE
path: "/api/energy-sharing-community/communities/:id/members/:memberId"
tags: ["Energy Sharing Community"]
---

# Hard-remove a member from a community — data-entry correction only (#285)

`DELETE /api/energy-sharing-community/communities/:id/members/:memberId`

## Request

- Base URL: `https://api.cernion.de`
- URL: `https://api.cernion.de/api/energy-sharing-community/communities/:id/members/:memberId`
- Auth: none declared

Removes the member record entirely. To end an active membership normally, use PUT /communities/:id/members/:memberId with validTo instead, which preserves history.

## Path parameters

- `id` string, required
- `memberId` string, required

## Query parameters

- `token` string

## Request body

- object
  - `token` string: Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.

## Response `200`

Member removed

## Other responses

- `404`: Community or member not found

---

[API](https://skmtc.dev/cernion/apis/cernion-energy-tools-api.md) · [All operations](https://skmtc.dev/cernion/apis/cernion-energy-tools-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cernion/apis/cernion-energy-tools-api/revisions/cdb94473b538?raw)
