---
title: "Remove a house from an energy community"
method: POST
path: "/energy-communities/{communityId}/remove-house"
tags: ["Energy communities"]
---

# Remove a house from an energy community

`POST /energy-communities/{communityId}/remove-house`

## Request

- Base URL: `https://connect.clever.gy`
- URL: `https://connect.clever.gy/energy-communities/{communityId}/remove-house`
- Auth: API key in header `clevergy-api-key`

Removes a house from an energy community

## Path parameters

- `communityId` string, required

## Request body

- RemoveEnergyCommunityHouseRequest: Remove energy community house
  - `houseId` string, required: House Id
  - `installationId` string: Installation Id

## Response `200`

House successfully removed

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Resource not found
- `default`: Unexpected error

---

[API](https://skmtc.dev/clevergy/apis/clevergy-connect-api.md) - [All operations](https://skmtc.dev/clevergy/apis/clevergy-connect-api/llms.txt) - [OpenAPI document](https://skmtc.dev/clevergy/apis/clevergy-connect-api/revisions/d333c5eecb5b?raw)
