Skip to content

Add a private registry

POST
/registries
curl --request POST \
--url https://your-server.example/api/registries \
--header 'Content-Type: application/json' \
--cookie session=<session> \
--data '{ "id": 1, "name": "example", "registry": "ghcr.io", "username": "example", "password": "example", "created_at": "2026-04-15T12:00:00Z" }'
Media typeapplication/json
object
id
integer format: int64
name
string
registry
string

Example

ghcr.io
username
string
password

Write-only; never returned.

string
created_at
string format: date-time

Created.

Media typeapplication/json
object
id
integer format: int64
name
string
registry
string
username
string
password

Write-only; never returned.

string
created_at
string format: date-time

Example

{
"registry": "ghcr.io"
}