---
title: "Save a registry credential"
method: PUT
path: "/container/registry-credentials"
tags: ["Container"]
---

# Save a registry credential

`PUT /container/registry-credentials`

## Request

- Base URL: `https://sylve.lan:8181/api`
- URL: `https://sylve.lan:8181/api/container/registry-credentials`
- Auth: API key in header `Authorization`

Add or replace the login used to pull from a registry

## Request body

- GithubComAlchemillahqSylveInternalInterfacesServicesContainerRegistryCredentialRequest
  - `password` string, required
  - `registry` string, required
  - `username` string, required

## Response `200`

Success

- GithubComAlchemillahqSylveInternalAPIResponseGithubComAlchemillahqSylveInternalDbModelsContainerRegistryCredential
  - `data` GithubComAlchemillahqSylveInternalDbModelsContainerRegistryCredential
    - `createdAt` string
    - `id` integer
    - `registry` string
    - `updatedAt` string
    - `username` string
  - `error` string
  - `message` string
  - `status` string

## Changes

- **2026-11-03** `9565cdd0abf5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/alchemillahq/apis/sylve-api/changes/container/registry-credentials/put.md)

---

[API](https://skmtc.dev/alchemillahq/apis/sylve-api.md) - [All operations](https://skmtc.dev/alchemillahq/apis/sylve-api/llms.txt) - [OpenAPI document](https://skmtc.dev/alchemillahq/apis/sylve-api/revisions/9565cdd0abf5?raw)
