Clear a rate card (bearer twin)
import requests
url = "https://platform.ankra.app/api/v1/org/cloud-cost/rate-cards/{credential_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/org/cloud-cost/rate-cards/{credential_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://platform.ankra.app/api/v1/org/cloud-cost/rate-cards/{credential_id} \
--header 'Authorization: Bearer <token>'{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "Cluster not found"
}Cost
Clear a rate card (bearer twin)
Removes a stated card so its capacity falls back to the provider default, or becomes unpriced when the provider ships none. Gated on billing.manage; the token stands in for the browser route’s CSRF double-submit. Bearer-PAT twin of the browser route of the same name under /org; the console’s session cookie is not accepted here and the browser route answers a token with a login redirect.
DELETE
/
api
/
v1
/
org
/
cloud-cost
/
rate-cards
/
{credential_id}
Clear a rate card (bearer twin)
import requests
url = "https://platform.ankra.app/api/v1/org/cloud-cost/rate-cards/{credential_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/org/cloud-cost/rate-cards/{credential_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://platform.ankra.app/api/v1/org/cloud-cost/rate-cards/{credential_id} \
--header 'Authorization: Bearer <token>'{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "Cluster not found"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
PAT organisation override.
Path Parameters
A private credential id, or organisation for the organisation's fallback card.
Response
Deleted