Skip to Content
SeyloDocs
API referenceRegistry logins

Change a registry login

POST
/api/v1/registries.update

Renames a registry login or replaces its server, user name or password. Omitted fields keep their value. Changes apply on the next deploy that pulls.

Needs registries.manage, which owners and admins hold. Not available to MCP clients or the assistant.

Authorization

cookieseylo_session<token>

Request Body

application/json
  1. body
registryId*string

Panel-issued id.

Match^[a-z0-9]{16}$
name?string
Length1 <= length <= 60
server?string

Registry host, for example "ghcr.io" or "registry.example.com:5000". Docker Hub is "docker.io".

Match^[A-Za-z0-9.-]+(:[0-9]{1,5})?$
Length1 <= length <= 253
username?string
Length1 <= length <= 200
password?string

Password or access token.

Length1 <= length <= 5000

Response Body

Success.

application/json
  1. response
id*string

Panel-issued id.

Match^[a-z0-9]{16}$
name*string
Length1 <= length <= 60
server*string

Registry host, for example "ghcr.io" or "registry.example.com:5000". Docker Hub is "docker.io".

Match^[A-Za-z0-9.-]+(:[0-9]{1,5})?$
Length1 <= length <= 253
username*string
Length1 <= length <= 200
usedBy*integer
Range0 <= value
createdAt*string
Formatdate-time
updatedAt*string
Formatdate-time
Example Request
curl -X POST 'https://example.com/api/v1/registries.update' \  -H 'Content-Type: application/json' \  -d '{  "registryId": "string"}'
Example Response
{  "id": "string",  "name": "string",  "server": "string",  "username": "string",  "usedBy": 0,  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z"}