Update a container registry
PUT/api/v1/orgs/{orgId}/containers/registries/{registryId}
Overview: Updates an existing registry configuration, applying validation and re-encryption to sensitive data.
• Uniqueness Check: Returns 409 if another registry already uses the updated registry name, or if another registry in the organization uses the same registry host.
• Type Validation and Requirements: Validates the specified registry type. For AwsECR, provide region, accessKey, and accessSecretKey together, or leave all three empty for anonymous access.
• Supported Types: The registry type must be one of Custom, DockerHub, AzureACR, or AwsECR.
• Encryption: Sensitive data (such as password, access key, and secret key) is automatically encrypted upon update.
• Region: The configuration allows for specifying the geographical region for the registry.
Request
Responses
- 200
- 400
- 403
- 409
- 500
Updated registry DTO (Data Transfer Object).
Bad Request
Forbidden
Conflict. The registry name already exists, or another registry in the organization already uses the same registry host.
Internal Server Error