Add VPS routed IPv6 (deprecated)
POST /api/v2/vps/{id}/routed-ipv6
Always answers 410 routed_ipv6_moved. Routed IPv6 is no longer added to one VPS. Use POST /api/v2/routed-ipv6 with action: "allocate_pool" to add a /48 to the account. Then send action: "create_route" to route a /48, /56 or /64 to a VPS.
Authentication: An API key with the scope write:network. About keys and scopes
Request
Path parameters
idstringrequiredThe VPS ID (
vps_…).Example
curl -X POST "https://cloud.hostup.se/api/v2/vps/vps_01hxa3b4c5d6e7f8g9h0j1k2m3/routed-ipv6" \ -H "Authorization: Bearer $HOSTUP_API_KEY" \ -H "Content-Type: application/json"Responses
Errors
Errors are Problem Details with a stable code. Branch on the code, not on the text.
| 400 | Invalid request. The response body is an RFC 7807 Problem Details document. |
| 401 | Unauthorized. Authentication is required. |
| 403 | Forbidden. The caller lacks a required scope or does not own the resource. |
| 404 | Not found. The resource does not exist or is not owned by the caller; code is vps_not_found. |
| 410 | Routed IPv6 is managed for the whole account. replacementEndpoint names the endpoint to use. |
| 429 | Rate limited. Retry after the limit resets. 429 responses include Retry-After seconds plus X-RateLimit-* headers. |
| 500 | Internal error. Retry later or contact support if the issue persists. |