Networking

IPv6 Range View

get
https://api.linode.com/v4/networking/ipv6/ranges/{range}

View IPv6 range information.

Path Parameters

range
Required
string

The IPv6 range to access. Corresponds to the range property of objects returned from the IPv6 Ranges List (GET /networking/ipv6/ranges) command.

Note: Omit the prefix length of the IPv6 range.

Request Samples

curl -H "Authorization: Bearer $TOKEN" https://api.linode.com/v4/networking/ipv6/ranges/2001:0db8::

Response Samples

{
  "region": "us-east",
  "prefix": 64,
  "range": "2600:3c01::",
  "is_bgp": "",
  "linodes": []
}

Responses

200: Returns IPv6 range information.

region
string

The region for this range of IPv6 addresses.

prefix
integer

The prefix length of the address. The total number of addresses that can be assigned from this range is calculated as 2(128 - prefix length).

range
string

The IPv6 address of this range.

is_bgp
boolean

Whether this IPv6 range is shared.

linodes
array of objects

A list of Linodes targeted by this IPv6 range. Includes Linodes with IP sharing.

default: Error

errors
array of objects
reason
string

What happened to cause this error. In most cases, this can be fixed immediately by changing the data you sent in the request, but in some cases you will be instructed to open a Support Ticket or perform some other action before you can complete the request successfully.

field
string

The field in the request that caused this error. This may be a path, separated by periods in the case of nested fields. In some cases this may come back as "null" if the error is not specific to any single element of the request.

IPv6 Range Delete

delete
https://api.linode.com/v4/networking/ipv6/ranges/{range}

Removes this IPv6 range from your account and disconnects the range from any assigned Linodes.

Note: Shared IPv6 ranges cannot be deleted at this time. Please contact Customer Support for assistance.

Path Parameters

range
Required
string

The IPv6 range to access. Corresponds to the range property of objects returned from the IPv6 Ranges List (GET /networking/ipv6/ranges) command.

Note: Omit the prefix length of the IPv6 range.

Request Samples

curl -H "Authorization: Bearer $TOKEN" \
    -X DELETE \
    https://api.linode.com/v4/networking/ipv6/ranges/2001:0db8::

Response Samples

{}

Responses

200: IPv6 Range deleted.

default: Error

errors
array of objects
reason
string

What happened to cause this error. In most cases, this can be fixed immediately by changing the data you sent in the request, but in some cases you will be instructed to open a Support Ticket or perform some other action before you can complete the request successfully.

field
string

The field in the request that caused this error. This may be a path, separated by periods in the case of nested fields. In some cases this may come back as "null" if the error is not specific to any single element of the request.