---
title: "Set grid connection"
method: PUT
path: "/config/gridconnection"
tags: ["general"]
---

# Set grid connection

`PUT /config/gridconnection`

## Request

- Base URL: `https://demo.evcc.io/api`
- URL: `https://demo.evcc.io/api/config/gridconnection`
- Auth: none declared

Set the grid connection. 3p4w for three-phase four-wire grids with neutral (3 x 230/400 V), 3p3w for three-phase three-wire grids without neutral (3 x 230 V).

## Request body

- '3p4w' | '3p3w'

## Response `200`

Success - Blank response

## Other responses

- `400`: Invalid grid connection

## Changes

- **2026-10-19** `a121b36cb94c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/evcc-io/apis/evcc/changes/config/gridconnection/put.md)

---

[API](https://skmtc.dev/evcc-io/apis/evcc.md) - [All operations](https://skmtc.dev/evcc-io/apis/evcc/llms.txt) - [OpenAPI document](https://skmtc.dev/evcc-io/apis/evcc/revisions/f6589b1a9e51?raw)
