Start
import requests
url = "https://platform.ankra.app/org/clusters/scaleway/{cluster_id}/start"
headers = {
"cookie": "ankra_session=",
"X-Ankra-CSRF": "<x-ankra-csrf>"
}
response = requests.post(url, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {cookie: 'ankra_session=', 'X-Ankra-CSRF': '<x-ankra-csrf>'}
};
fetch('https://platform.ankra.app/org/clusters/scaleway/{cluster_id}/start', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://platform.ankra.app/org/clusters/scaleway/{cluster_id}/start \
--header 'X-Ankra-CSRF: <x-ankra-csrf>' \
--cookie ankra_session={
"marked_to_start_at": "2023-11-07T05:31:56Z",
"created_operations": 0,
"scope": "all"
}{
"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
Start
Browser session authentication; RBAC permission clusters.operate.
POST
/
org
/
clusters
/
scaleway
/
{cluster_id}
/
start
Start
import requests
url = "https://platform.ankra.app/org/clusters/scaleway/{cluster_id}/start"
headers = {
"cookie": "ankra_session=",
"X-Ankra-CSRF": "<x-ankra-csrf>"
}
response = requests.post(url, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {cookie: 'ankra_session=', 'X-Ankra-CSRF': '<x-ankra-csrf>'}
};
fetch('https://platform.ankra.app/org/clusters/scaleway/{cluster_id}/start', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://platform.ankra.app/org/clusters/scaleway/{cluster_id}/start \
--header 'X-Ankra-CSRF: <x-ankra-csrf>' \
--cookie ankra_session={
"marked_to_start_at": "2023-11-07T05:31:56Z",
"created_operations": 0,
"scope": "all"
}{
"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.