Delete node group
import requests
url = "https://platform.ankra.app/org/clusters/scaleway/{cluster_id}/node-groups/{group_name}"
headers = {
"cookie": "ankra_session=",
"X-Ankra-CSRF": "<x-ankra-csrf>"
}
response = requests.delete(url, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {cookie: 'ankra_session=', 'X-Ankra-CSRF': '<x-ankra-csrf>'}
};
fetch('https://platform.ankra.app/org/clusters/scaleway/{cluster_id}/node-groups/{group_name}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://platform.ankra.app/org/clusters/scaleway/{cluster_id}/node-groups/{group_name} \
--header 'X-Ankra-CSRF: <x-ankra-csrf>' \
--cookie ankra_session={
"deleted": 123,
"group_name": "<string>"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "Cluster not found"
}Scaleway Clusters
Delete node group
Browser session authentication; RBAC permission clusters.write. PAT mutations support wait=false where implemented; browser mutations require CSRF.
DELETE
/
org
/
clusters
/
scaleway
/
{cluster_id}
/
node-groups
/
{group_name}
Delete node group
import requests
url = "https://platform.ankra.app/org/clusters/scaleway/{cluster_id}/node-groups/{group_name}"
headers = {
"cookie": "ankra_session=",
"X-Ankra-CSRF": "<x-ankra-csrf>"
}
response = requests.delete(url, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {cookie: 'ankra_session=', 'X-Ankra-CSRF': '<x-ankra-csrf>'}
};
fetch('https://platform.ankra.app/org/clusters/scaleway/{cluster_id}/node-groups/{group_name}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://platform.ankra.app/org/clusters/scaleway/{cluster_id}/node-groups/{group_name} \
--header 'X-Ankra-CSRF: <x-ankra-csrf>' \
--cookie ankra_session={
"deleted": 123,
"group_name": "<string>"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "Cluster not found"
}Authorizations
Browser session. Mutations also require X-Ankra-CSRF.
Headers
Must match the ankra_csrf browser cookie.