Update Upcloud Zone Pool
import requests
url = "https://platform.ankra.app/api/v1/clusters/upcloud/{cluster_id}/zones"
payload = { "zones": ["<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({zones: ['<string>']})
};
fetch('https://platform.ankra.app/api/v1/clusters/upcloud/{cluster_id}/zones', 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/clusters/upcloud/{cluster_id}/zones \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"zones": [
"<string>"
]
}
'{
"added_zones": [
"<string>"
],
"zones": [
"<string>"
]
}{
"detail": "Cluster not found"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}UpCloud Clusters
Update Upcloud Zone Pool
Extend an UpCloud cluster’s zone pool. Zones can only be added; the cluster must run network_mode ‘wireguard_mesh’ and the grown pool must keep at least 3 zones with at least 3 control planes. Every new zone gets its own router, private network and NAT gateway; day-2 growth then spreads across the pool. Answers 404 while the organisation’s network_overlay feature flag is off.
PUT
/
api
/
v1
/
clusters
/
upcloud
/
{cluster_id}
/
zones
Update Upcloud Zone Pool
import requests
url = "https://platform.ankra.app/api/v1/clusters/upcloud/{cluster_id}/zones"
payload = { "zones": ["<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({zones: ['<string>']})
};
fetch('https://platform.ankra.app/api/v1/clusters/upcloud/{cluster_id}/zones', 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/clusters/upcloud/{cluster_id}/zones \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"zones": [
"<string>"
]
}
'{
"added_zones": [
"<string>"
],
"zones": [
"<string>"
]
}{
"detail": "Cluster not found"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Query Parameters
Body
application/json
The desired zone pool, primary zone first. Every current zone must still be listed; new zones are appended in the given order.