Skip to content

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

idstringrequired
The route ID (ripv6rt_…) from pools[].routes[].id.

Example

DELETE /api/v2/routed-ipv6/routes/{id}
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.

Response 200
{
"deleted": true
}
Response fields
deletedboolean

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.
404No active route with this ID in your account. code is routed_ipv6_route_not_found.
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.