Skip to main content
PUT
/
organization
/
{organizationId}
/
helmRepository
/
{helmRepositoryId}
Edit a helm repository
curl --request PUT \
  --url https://api.qovery.com/organization/{organizationId}/helmRepository/{helmRepositoryId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "skip_tls_verification": true,
  "config": {
    "username": "<string>",
    "password": "<string>",
    "access_key_id": "<string>",
    "secret_access_key": "<string>",
    "region": "<string>",
    "scaleway_access_key": "<string>",
    "scaleway_secret_key": "<string>",
    "scaleway_project_id": "<string>",
    "azure_tenant_id": "<string>",
    "azure_subscription_id": "<string>",
    "role_arn": "<string>"
  },
  "description": "<string>",
  "url": "<string>"
}
'
import requests

url = "https://api.qovery.com/organization/{organizationId}/helmRepository/{helmRepositoryId}"

payload = {
"name": "<string>",
"skip_tls_verification": True,
"config": {
"username": "<string>",
"password": "<string>",
"access_key_id": "<string>",
"secret_access_key": "<string>",
"region": "<string>",
"scaleway_access_key": "<string>",
"scaleway_secret_key": "<string>",
"scaleway_project_id": "<string>",
"azure_tenant_id": "<string>",
"azure_subscription_id": "<string>",
"role_arn": "<string>"
},
"description": "<string>",
"url": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}

response = requests.put(url, json=payload, headers=headers)

print(response.text)
const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
skip_tls_verification: true,
config: {
username: '<string>',
password: '<string>',
access_key_id: '<string>',
secret_access_key: '<string>',
region: '<string>',
scaleway_access_key: '<string>',
scaleway_secret_key: '<string>',
scaleway_project_id: '<string>',
azure_tenant_id: '<string>',
azure_subscription_id: '<string>',
role_arn: '<string>'
},
description: '<string>',
url: '<string>'
})
};

fetch('https://api.qovery.com/organization/{organizationId}/helmRepository/{helmRepositoryId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.qovery.com/organization/{organizationId}/helmRepository/{helmRepositoryId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'skip_tls_verification' => true,
'config' => [
'username' => '<string>',
'password' => '<string>',
'access_key_id' => '<string>',
'secret_access_key' => '<string>',
'region' => '<string>',
'scaleway_access_key' => '<string>',
'scaleway_secret_key' => '<string>',
'scaleway_project_id' => '<string>',
'azure_tenant_id' => '<string>',
'azure_subscription_id' => '<string>',
'role_arn' => '<string>'
],
'description' => '<string>',
'url' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"strings"
"net/http"
"io"
)

func main() {

url := "https://api.qovery.com/organization/{organizationId}/helmRepository/{helmRepositoryId}"

payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"skip_tls_verification\": true,\n \"config\": {\n \"username\": \"<string>\",\n \"password\": \"<string>\",\n \"access_key_id\": \"<string>\",\n \"secret_access_key\": \"<string>\",\n \"region\": \"<string>\",\n \"scaleway_access_key\": \"<string>\",\n \"scaleway_secret_key\": \"<string>\",\n \"scaleway_project_id\": \"<string>\",\n \"azure_tenant_id\": \"<string>\",\n \"azure_subscription_id\": \"<string>\",\n \"role_arn\": \"<string>\"\n },\n \"description\": \"<string>\",\n \"url\": \"<string>\"\n}")

req, _ := http.NewRequest("PUT", url, payload)

req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.put("https://api.qovery.com/organization/{organizationId}/helmRepository/{helmRepositoryId}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"skip_tls_verification\": true,\n \"config\": {\n \"username\": \"<string>\",\n \"password\": \"<string>\",\n \"access_key_id\": \"<string>\",\n \"secret_access_key\": \"<string>\",\n \"region\": \"<string>\",\n \"scaleway_access_key\": \"<string>\",\n \"scaleway_secret_key\": \"<string>\",\n \"scaleway_project_id\": \"<string>\",\n \"azure_tenant_id\": \"<string>\",\n \"azure_subscription_id\": \"<string>\",\n \"role_arn\": \"<string>\"\n },\n \"description\": \"<string>\",\n \"url\": \"<string>\"\n}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.qovery.com/organization/{organizationId}/helmRepository/{helmRepositoryId}")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"skip_tls_verification\": true,\n \"config\": {\n \"username\": \"<string>\",\n \"password\": \"<string>\",\n \"access_key_id\": \"<string>\",\n \"secret_access_key\": \"<string>\",\n \"region\": \"<string>\",\n \"scaleway_access_key\": \"<string>\",\n \"scaleway_secret_key\": \"<string>\",\n \"scaleway_project_id\": \"<string>\",\n \"azure_tenant_id\": \"<string>\",\n \"azure_subscription_id\": \"<string>\",\n \"role_arn\": \"<string>\"\n },\n \"description\": \"<string>\",\n \"url\": \"<string>\"\n}"

response = http.request(request)
puts response.read_body
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_at": "2023-11-07T05:31:56Z",
  "name": "<string>",
  "updated_at": "2023-11-07T05:31:56Z",
  "description": "<string>",
  "url": "<string>",
  "skip_tls_verification": true,
  "associated_services_count": 123,
  "config": {
    "username": "<string>",
    "region": "<string>",
    "access_key_id": "<string>",
    "role_arn": "<string>",
    "scaleway_access_key": "<string>",
    "scaleway_project_id": "<string>",
    "azure_tenant_id": "<string>",
    "azure_subscription_id": "<string>"
  }
}

Authorizations

Authorization
string
header
required

JWT tokens should be used with OIDC account (human to machine). JWT tokens used by the Qovery console to communicate with the API have a TTL. Curl Example ' curl https://console.qovery.com/organization -H "Authorization: Bearer $qovery_token" '

Path Parameters

organizationId
string<uuid>
required

Organization ID

helmRepositoryId
string<uuid>
required

Helm chart repository ID

Body

application/json
name
string
required
kind
enum<string>
required

The type of your helm repository

Available options:
HTTPS,
OCI_ECR,
OCI_SCALEWAY_CR,
OCI_DOCKER_HUB,
OCI_PUBLIC_ECR,
OCI_GENERIC_CR,
OCI_GITHUB_CR,
OCI_GITLAB_CR
skip_tls_verification
boolean
required

Bypass tls certificate verification when connecting to repository

config
object
required
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://

Response

Edited the helm repository

id
string<uuid>
required
read-only
created_at
string<date-time>
required
read-only
name
string
required
updated_at
string<date-time>
read-only
kind
enum<string>

The type of your helm repository

Available options:
HTTPS,
OCI_ECR,
OCI_SCALEWAY_CR,
OCI_DOCKER_HUB,
OCI_PUBLIC_ECR,
OCI_GENERIC_CR,
OCI_GITHUB_CR,
OCI_GITLAB_CR
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