Update Registry Credential Endpoint
import requests
url = "https://platform.ankra.app/api/v1/org/helm/credentials/{credential_name}"
payload = {
"password": "<string>",
"username": "<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({password: '<string>', username: '<string>'})
};
fetch('https://platform.ankra.app/api/v1/org/helm/credentials/{credential_name}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request PUT \
--url https://platform.ankra.app/api/v1/org/helm/credentials/{credential_name} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"password": "<string>",
"username": "<string>"
}
'{
"errors": []
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Helm API
Update Registry Credential Endpoint
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 = {
"password": "<string>",
"username": "<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({password: '<string>', username: '<string>'})
};
fetch('https://platform.ankra.app/api/v1/org/helm/credentials/{credential_name}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request PUT \
--url https://platform.ankra.app/api/v1/org/helm/credentials/{credential_name} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"password": "<string>",
"username": "<string>"
}
'{
"errors": []
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Maximum string length:
253Response
Successful Response
Show child attributes
Show child attributes