Delete a routed IPv6 route
DELETE /api/v2/routed-ipv6/routes/{id}
Stop routing an IPv6 subnet to a VPS. Hostup removes the route and removes the prefix from the VPS anti-spoofing IP set. The route leaves the network a short time after the response. The prefix goes back to its /48 and can be routed again.
Authentication: An API key with the scope write:network. About keys and scopes
Request
Path parameters
idstringrequiredThe route ID (
ripv6rt_…) from pools[].routes[].id.Example
curl -X DELETE "https://cloud.hostup.se/api/v2/routed-ipv6/routes/ripv6rt_01hxa3b4c5d6e7f8g9h0j1k2m3" \ -H "Authorization: Bearer $HOSTUP_API_KEY"Responses
200 deleted is true when the route was removed.
{ "deleted": true}Response fields
deletedbooleanErrors
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 | No active route with this ID in your account. code is routed_ipv6_route_not_found. |
| 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. |