Set cluster network policy
const url = 'https://api.aetherplatform.cloud/api/v1/organizations/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/clusters/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/network';const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"authorized_cidrs":["example"],"api_server_rate_limit":{"max_connections_per_second":1,"burst":1}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://api.aetherplatform.cloud/api/v1/organizations/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/clusters/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/network \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "authorized_cidrs": [ "example" ], "api_server_rate_limit": { "max_connections_per_second": 1, "burst": 1 } }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Organization UUID.
Cluster UUID.
Request Bodyrequired
Section titled “Request Bodyrequired”object
Source-IP allowlist (CIDRs) for reaching the cluster’s control plane. An empty list means connections are accepted from any source address; authentication still applies. Send at least one CIDR to restrict it. The list restricts the public control-plane endpoint — where the cluster’s own workers and the platform are always allowed in addition to it — and, where the platform kubectl proxy is enabled, connections made through it, which are matched against these entries alone — a private cluster reached through the proxy is matched like any other. It has no effect on the private control-plane path itself, which has no public listener. Replaces the stored list outright; every entry must be CIDR notation, and a bare address is rejected with 422 authorized_cidrs/invalid_cidr.
Examplegenerated
{ "authorized_cidrs": [ "example" ], "api_server_rate_limit": { "max_connections_per_second": 1, "burst": 1 }}Responses
Section titled “Responses”The updated cluster network policy.
object
Source-IP allowlist (CIDRs) for reaching the cluster’s control plane. An empty list means connections are accepted from any source address; authentication still applies. Send at least one CIDR to restrict it. The list restricts the public control-plane endpoint — where the cluster’s own workers and the platform are always allowed in addition to it — and, where the platform kubectl proxy is enabled, connections made through it, which are matched against these entries alone — a private cluster reached through the proxy is matched like any other. It has no effect on the private control-plane path itself, which has no public listener.
Examplegenerated
{ "cluster_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "authorized_cidrs": [ "example" ], "api_server_rate_limit": { "max_connections_per_second": 1, "burst": 1 }, "updated_at": "2026-04-15T12:00:00Z"}Missing or invalid credentials.
object
object
A stable, machine-readable error code.
object
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": [ { "field": "example", "code": "example", "message": "example" } ] }}The requested resource was not found.
object
object
A stable, machine-readable error code.
object
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": [ { "field": "example", "code": "example", "message": "example" } ] }}Request validation failed.
object
object
A stable, machine-readable error code.
object
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": [ { "field": "example", "code": "example", "message": "example" } ] }}