---
title: "Docker Registry Login"
method: POST
path: "/api/clusters/{clusterName}/docker/actions/registry-connect"
tags: ["Docker"]
---

# Docker Registry Login

`POST /api/clusters/{clusterName}/docker/actions/registry-connect`

Logs in to a Docker registry using the provided credentials.

## Path parameters

- `clusterName` string, required

## Headers

- `Authorization` string, required

## Request body

- ServerDockerRegistryLoginForm
  - `authType` string — "password" or "token"
  - `password` string
  - `private` boolean — true if private registry, false if public
  - `template` string — Optional template for the registry, e.g., "docker.io" or "quay.io"
  - `update` boolean — true if updating existing credentials, false if new credentials
  - `url` string
  - `username` string

## Response `200`

Docker registry login successful

- string

## Other responses

- `400` — Error decoding request body
- `403` — No valid ACL
- `500` — Error creating request" or "Error making request to Docker registry" or "Docker registry login failed

---

[API](https://skmtc.net/signal18/apis/untitled-api.md) · [All operations](https://skmtc.net/signal18/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/signal18/untitled-api/revisions/7465ea0ee21a/schema)
