Skip to main content
POST
/
api
/
v1
/
org
/
helm
/
registries
/
{registry_name}
/
sync
Sync Helm Registry Endpoint
import requests

url = "https://platform.ankra.app/api/v1/org/helm/registries/{registry_name}/sync"

headers = {"Authorization": "Bearer <token>"}

response = requests.post(url, headers=headers)

print(response.text)
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};

fetch('https://platform.ankra.app/api/v1/org/helm/registries/{registry_name}/sync', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
curl --request POST \
--url https://platform.ankra.app/api/v1/org/helm/registries/{registry_name}/sync \
--header 'Authorization: Bearer <token>'
{
  "created_jobs": 123
}
{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

authorization
string | null
x-ankra-organisation-id
string | null

Path Parameters

registry_name
string
required
Maximum string length: 253

Response

Successful Response

created_jobs
integer
required