Update a container registry

put/container/registry

Updates a container registry.

Request Samples

Response Samples

1{
2 "name": "registry name",
3 "description": "An example for a container registry.",
4 "url": "https://example.url:4321",
5 "username": "User name for the container registry",
6 "password": "Password for the container registry"
7}

Request Body

A response representation for a container registry.

NameTypeRequiredDescription
name
string
false

A unique name for the registry.

defaultRepository
string
false
description
string
false

Descriptive text for the registry.

url
string
false
username
string
false
password
string
false

Responses

StatusMeaningDescription
200OK

The container registry was updated.

HeadersSchema
400Bad Request

The request was invalid. Additional information is available in the application logs if the environment variable LOGGING_LEVEL_ORG_SPRINGFRAMEWORK is set to DEBUG.

Schema
401Unauthorized

The request is not authenticated.

Schema
403Forbidden

The user did not have the necessary permissions.

Schema
404Not Found

An error response when a container registry with the specified name does not exist.

Schema
412Precondition Failed

The If-Match request header did not match the resource's entity tag.

Schema
428Precondition Required

A precondition header is required.

Schema
503Service Unavailable

Functionality for project containers is not enabled.

Schema