Withdraw an Ankra Cloud quota request
import requests
url = "https://platform.ankra.app/api/v1/clusters/ankracloud/quota-requests/{request_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/clusters/ankracloud/quota-requests/{request_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/clusters/ankracloud/quota-requests/{request_id} \
--header 'Authorization: Bearer <token>'{
"request": {
"id": "<string>",
"state": "pending",
"limits": {},
"reason": "<string>",
"staff_reason": "<string>",
"requested_by_email": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"decided_at": "2023-11-07T05:31:56Z"
}
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}Ankra Cloud Clusters
Withdraw an Ankra Cloud quota request
Withdraws a pending request for higher limits. Only a pending request can be withdrawn (409 otherwise); no limit changes. Requires credentials.write for the whole organisation, not only a project. Answers 404 unless the organisation’s ankra_cloud_quota_management and ankra_cloud_provider feature flags are both on.
DELETE
/
api
/
v1
/
clusters
/
ankracloud
/
quota-requests
/
{request_id}
Withdraw an Ankra Cloud quota request
import requests
url = "https://platform.ankra.app/api/v1/clusters/ankracloud/quota-requests/{request_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/clusters/ankracloud/quota-requests/{request_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/clusters/ankracloud/quota-requests/{request_id} \
--header 'Authorization: Bearer <token>'{
"request": {
"id": "<string>",
"state": "pending",
"limits": {},
"reason": "<string>",
"staff_reason": "<string>",
"requested_by_email": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"decided_at": "2023-11-07T05:31:56Z"
}
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}