Skip to content

Remove VPS routed IPv6 (deprecated)

DELETE /api/v2/vps/{id}/routed-ipv6

Always answers 410 routed_ipv6_moved. Routed IPv6 belongs to the account, not to one VPS. Use DELETE /api/v2/routed-ipv6/routes/{id} to remove a route to a VPS. Use DELETE /api/v2/routed-ipv6/{id} to release an account /48 pool that has no routes left.

Authentication: An API key with the scope write:network. About keys and scopes

Request

Path parameters

idstringrequired
The VPS ID (vps_…).

Example

DELETE /api/v2/vps/{id}/routed-ipv6
curl -X DELETE "https://cloud.hostup.se/api/v2/vps/vps_01hxa3b4c5d6e7f8g9h0j1k2m3/routed-ipv6" \
-H "Authorization: Bearer $HOSTUP_API_KEY"

Responses

Errors

Errors are Problem Details with a stable code. Branch on the code, not on the text.

400Invalid request. The response body is an RFC 7807 Problem Details document.
401Unauthorized. Authentication is required.
403Forbidden. The caller lacks a required scope or does not own the resource.
404Not found. The resource does not exist or is not owned by the caller; code is vps_not_found.
410Routed IPv6 is managed for the whole account. replacementEndpoint names the endpoint to use.
429Rate limited. Retry after the limit resets. 429 responses include Retry-After seconds plus X-RateLimit-* headers.
500Internal error. Retry later or contact support if the issue persists.