---
title: "Create an outlet"
method: PUT
path: "/api/outlets"
tags: ["Outlets"]
---

# Create an outlet

`PUT /api/outlets`

## Request body

- Outlet
  - `id` string
  - `name` string, required
  - `pin` integer
  - `equipment` string
  - `reverse` boolean
  - `driver` string, required

## Response `200`

Outlet created

- ErrorResponse
  - `message` string, required

## Other responses

- `400` — Invalid input
- `401` — Unauthorized

## Changes

- **2026-07-17** `85b870dc1814` — 1 info
  - endpoint added
- **2026-05-17** `246823ed55cc` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/reef-pi/apis/reef-pi-api/changes/api/outlets/put.md)

---

[API](https://skmtc.dev/reef-pi/apis/reef-pi-api.md) · [All operations](https://skmtc.dev/reef-pi/apis/reef-pi-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/reef-pi/reef-pi-api/revisions/85b870dc1814/schema)
