---
title: "Setup Harbor Infrastructure"
method: POST
path: "/admin/harbor/setup"
tags: ["admin"]
---

# Setup Harbor Infrastructure

`POST /admin/harbor/setup`

## Request

- Base URL: `https://api.mengi.cloud` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mengi.cloud/admin/harbor/setup`
- Auth: none declared

Set up all Harbor infrastructure components:
- Hetzner Object Storage bucket for image storage
- DNS record for registry.mengi.cloud

If management_cluster_ip is not provided, it will be fetched from the
management cluster's Traefik LoadBalancer IP.

## Request body

- HarborSetupRequest
  - `management_cluster_ip` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mengi/apis/mengi-cloud.md) · [All operations](https://skmtc.dev/mengi/apis/mengi-cloud/llms.txt) · [OpenAPI document](https://skmtc.dev/mengi/apis/mengi-cloud/revisions/4ae9b375cdbb?raw)
