Skip to main content
PUT
/
api
/
v1
/
org
/
helm
/
credentials
/
{credential_name}
Update Registry Credential Endpoint
import requests

url = "https://platform.ankra.app/api/v1/org/helm/credentials/{credential_name}"

payload = {
    "username": "<string>",
    "password": "<string>"
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

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

print(response.text)
{
  "errors": []
}

Authorizations

Authorization
string
header
required

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

Headers

authorization
string | null

Path Parameters

credential_name
string
required
Maximum string length: 253

Body

application/json
username
string
required
password
string
required

Response

Successful Response

errors
ResourceError · object[]