> ## Documentation Index > Fetch the complete documentation index at: https://bunny.net/docs/llms.txt > Use this file to discover all available pages before exploring further. # Update Container Registry > Updates an existing container registry configuration including credentials. ## OpenAPI ````yaml https://api-mc.opsbunny.net/docs/public/swagger.json put /registries/{registryId} openapi: 3.0.4 info: title: Public API description: 'Public API endpoints for user consumption. Release version: v1.11.1.0' version: '1.0' servers: - url: https://api.bunny.net/mc security: - AccessKey: [] paths: /registries/{registryId}: put: tags: - ContainerRegistries summary: Update Container Registry description: >- Updates an existing container registry configuration including credentials. operationId: UpdateContainerRegistry parameters: - name: registryId in: path required: true schema: type: integer format: int64 requestBody: content: application/json: schema: $ref: '#/components/schemas/ContainerRegistryRequest' text/json: schema: $ref: '#/components/schemas/ContainerRegistryRequest' application/*+json: schema: $ref: '#/components/schemas/ContainerRegistryRequest' responses: '200': description: Container registry was successfully updated. content: application/json: schema: $ref: '#/components/schemas/SaveContainerRegistryResult' '400': description: Invalid input. content: application/json: schema: $ref: '#/components/schemas/ErrorDetails' '401': description: User is unauthorized. content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' '404': description: Container registry not found. content: application/json: schema: $ref: '#/components/schemas/ErrorDetails' '500': description: Unexpected server error. content: application/json: schema: $ref: '#/components/schemas/ErrorDetails' components: schemas: ContainerRegistryRequest: required: - displayName type: object properties: displayName: maxLength: 50 minLength: 1 type: string description: Container registry display name type: $ref: '#/components/schemas/RegistryType' hostName: maxLength: 2048 type: string description: >- The registry's host, with an optional port (e.g. "registry.example.com" or "registry.example.com:5000"). An https:// prefix and a namespace path ("rg.fr-par.scw.cloud/my-namespace") are dropped; http:// is refused. Required for the Oci type and ignored for the others. nullable: true passwordCredentials: $ref: '#/components/schemas/Credentials' additionalProperties: false SaveContainerRegistryResult: type: object properties: id: type: integer format: int64 nullable: true error: type: string nullable: true status: $ref: '#/components/schemas/SavedContainerRegistryStatus' additionalProperties: false ErrorDetails: type: object properties: title: type: string description: A short, human-readable summary of the problem type. readOnly: true status: type: integer description: The HTTP status code. format: int32 readOnly: true detail: type: string description: >- A human-readable explanation specific to this occurrence of the problem. nullable: true readOnly: true instance: type: string description: >- A URI reference that identifies the specific occurrence of the problem. nullable: true readOnly: true errors: type: array items: $ref: '#/components/schemas/ValidationError' description: Additional validation errors for field-specific issues. nullable: true readOnly: true id: type: string description: >- The application ID, returned as an RFC 7807 extension field when relevant (e.g. partial save errors). Matches the "id" field from successful create response for consistency. nullable: true readOnly: true additionalProperties: false description: RFC 7807 Problem Details response model. ProblemDetails: type: object properties: type: type: string nullable: true title: type: string nullable: true status: type: integer format: int32 nullable: true detail: type: string nullable: true instance: type: string nullable: true additionalProperties: {} RegistryType: enum: - dockerHub - gitHub - bunnyRegistry - oci type: string Credentials: required: - password - userName type: object properties: userName: minLength: 1 type: string description: User name password: minLength: 1 type: string description: Password additionalProperties: false description: Password credentials for container registry SavedContainerRegistryStatus: enum: - saved - secretsValidationFailed - unknownErrorOccured - notFound - invalidInput type: string ValidationError: required: - message type: object properties: field: type: string nullable: true message: type: string additionalProperties: false securitySchemes: AccessKey: type: apiKey description: Please enter a valid personal API key. name: AccessKey in: header ```` This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.