Preview a bandwidth pooling change
Overview
Previews a bandwidth pooling change without applying it. Send location_id. If pooling is enabled, cities shows the usage assigned to each server after disabling it. If pooling is disabled, stranded_blocks lists the team's blocks assigned to servers in more than one location or team, which would no longer provide bandwidth after enabling it.
Permissions
Requires the network.read (View networking) permission for the selected team. Resources outside that team return 404.
Authorization
Your API key, sent as a bearer token. Create one in the control panel under API Keys, give it only the permissions the integration needs, and copy it when it is created. It cannot be shown again. Each key is restricted to one owned team. The key determines the team for every request.
Send it as Bearer <token>.
Query parameters
The location id ID.
Response 200
application/jsonThe record, as a JSON object. There is no envelope.
The location id ID.
The value of pooling.
The value of cities.
Show child attributesHide child attributes
The location id ID.
The name shown to customers.
The value of servers.
Show child attributesHide child attributes
The uuid UUID.
The name shown to customers.
What the dialog paints the machine with, the same as the dashboard.
The value of template_icon_url.
The value of windows.
The value of limit.
The value of usage.
The value of usage_after.
The value of shaped_after.
The value of usage.
The value of limit.
Blocks bound to this city, which stop covering anything the moment the pool is gone.
The value of stranded_blocks.
Show child attributesHide child attributes
The uuid UUID.
The value of terabytes.
The value of remaining.
The value of region_label.
The machines it covers, by name, so far as this reader may be told.
The value of servers_in_other_teams.
Errors
- 401
- The key was missing, malformed, revoked, or belongs to an account that no longer exists.
- 403
- Access denied. Check the key's team, permissions and allowed IP addresses. Some actions, such as managing API keys, require a browser session. The response message explains the reason.
- 429
- Too many requests. The
Retry-Afterheader says how many seconds to wait. Limits are per account, so several keys on one account share them.
Still stuck? Contact our team
View as Markdown