---
title: "Edit a helm repository"
method: PUT
path: "/organization/{organizationId}/helmRepository/{helmRepositoryId}"
tags: ["Helm Repositories"]
---

# Edit a helm repository

`PUT /organization/{organizationId}/helmRepository/{helmRepositoryId}`

## Request

- Base URL: `https://api.qovery.com`
- URL: `https://api.qovery.com/organization/{organizationId}/helmRepository/{helmRepositoryId}`
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/qovery/apis/qovery-api/docs/organization/:organizationId/helmRepository/:helmRepositoryId/put.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `organizationId` string, uuid, required
- `helmRepositoryId` string, uuid, required

## Request body

- HelmRepositoryRequest
  - `name` string, required
  - `kind` 'HTTPS' | 'OCI_ECR' | 'OCI_SCALEWAY_CR' | 'OCI_DOCKER_HUB' | 'OCI_PUBLIC_ECR' | 'OCI_GENERIC_CR' | 'OCI_GITHUB_CR' | 'OCI_GITLAB_CR', required: The type of your helm repository
  - `description` string
  - `url` string, uri: URL of the helm chart repository: * For `OCI`: it must start by oci:// * For `HTTPS`: it must be start by https://
  - `skip_tls_verification` boolean, required: Bypass tls certificate verification when connecting to repository
  - `config` object, required
    - `username` string: Required if the repository is private
    - `password` string: Required if the repository is private
    - `access_key_id` string: Required if kind is `ECR` or `PUBLIC_ECR`
    - `secret_access_key` string: Required if kind is `ECR` or `PUBLIC_ECR`
    - `region` string: Required if kind is `ECR` or `SCALEWAY_CR`
    - `scaleway_access_key` string: Required if kind is `SCALEWAY_CR`
    - `scaleway_secret_key` string: Required if kind is `SCALEWAY_CR`
    - `scaleway_project_id` string: Required if kind is `SCALEWAY_CR`
    - `azure_tenant_id` string: Required if kind is `AZURE_CR`.
    - `azure_subscription_id` string: Required if kind is `AZURE_CR`.

## Response `200`

Edited the helm repository

- HelmRepositoryResponse
  - `id` string, uuid, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time
  - `name` string, required
  - `kind` 'HTTPS' | 'OCI_ECR' | 'OCI_SCALEWAY_CR' | 'OCI_DOCKER_HUB' | 'OCI_PUBLIC_ECR' | 'OCI_GENERIC_CR' | 'OCI_GITHUB_CR' | 'OCI_GITLAB_CR': The type of your helm repository
  - `description` string
  - `url` string: URL of the helm repository
  - `skip_tls_verification` boolean: Bypass tls certificate verification when connecting to repository
  - `associated_services_count` integer: The number of services using this helm repository
  - `config` object
    - `username` string
    - `region` string
    - `access_key_id` string
    - `scaleway_access_key` string
    - `scaleway_project_id` string
    - `azure_tenant_id` string
    - `azure_subscription_id` string

## Other responses

- `400`: Bad request
- `401`: Access token is missing or invalid
- `403`: Access forbidden
- `404`: Resource not found

---

[API](https://skmtc.dev/qovery/apis/qovery-api.md) - [All operations](https://skmtc.dev/qovery/apis/qovery-api/llms.txt) - [OpenAPI document](https://skmtc.dev/qovery/apis/qovery-api/revisions/93c4960a44ba?raw)
