Skip to content

Update a registry

PUT
/registries/{id}
curl --request PUT \
--url https://your-server.example/api/registries/1 \
--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" }'
id
required
integer format: int64
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

Updated.

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"
}