An IP address is the building block for network communications in a VPC or on the public Internet.
List existing IPs
List existing IPs in the specified region using various filters. For example, you can filter for IPs within a specified Private Network, or for public IPs within a specified Project. By default, the IPs returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field.
path Parameters
regionThe region you want to target
query Parameters
order_bySort order of the returned IPs.
pagePage number to return, from the paginated results.
page_sizeMaximum number of IPs to return per page.
project_idProject ID to filter for. Only IPs belonging to this Project will be returned. (UUID format)
vpc_idVPC ID to filter for. Only IPs owned by resources in this VPC will be returned.
attachedDefines whether to filter only for IPs which are attached to a resource.
resource_nameAttached resource name to filter for, only IPs attached to a resource with this string within their name will be returned.
resource_idResource ID to filter for. Only IPs attached to this resource will be returned. (UUID format)
resource_idsResource IDs to filter for. Only IPs attached to at least one of these resources will be returned.
resource_typeResource type to filter for. Only IPs attached to this type of resource will be returned.
resource_typesResource types to filter for. Only IPs attached to these types of resources will be returned.
mac_addressMAC address to filter for. Only IPs attached to a resource with this MAC address will be returned.
tagsTags to filter for, only IPs with one or more matching tags will be returned.
organization_idOrganization ID to filter for. Only IPs belonging to this Organization will be returned. (UUID format)
is_ipv6Defines whether to filter only for IPv4s or IPv6s.
ip_idsIP IDs to filter for. Only IPs with these UUIDs will be returned.
List existing IPs › Responses
total_countReserve a new IP
Reserve a new IP from the specified source. Currently IPs can only be reserved from a Private Network.
path Parameters
regionThe region you want to target
Reserve a new IP › Request Body
project_idScaleway Project in which to create the IP. When creating an IP in a Private Network, the Project must match the Private Network's Project. (UUID format)
Source in which to reserve the IP. Not all sources are available for reservation.
is_ipv6Request an IPv6 instead of an IPv4.
addressRequest this specific IP address in the specified source pool. The requested address should not include the subnet mask (/suffix). Note that only the Private Network source allows you to pick a specific IP. If the requested IP is already reserved, then the call will fail. (IP address)
tagsTags for the IP.
Custom resource to attach to the IP being reserved. An example of a custom resource is a virtual machine hosted on an Elastic Metal server. Do not use this for attaching IP addresses to standard Scaleway resources, as it will fail - instead, see the relevant product API for an equivalent method.
Reserve a new IP › Responses
idIP ID. (UUID format)
addressIPv4 or IPv6 address in CIDR notation. (IP network)
project_idScaleway Project the IP belongs to. (UUID format)
is_ipv6Defines whether the IP is an IPv6 (false = IPv4).
created_atDate the IP was reserved. (RFC 3339 format)
updated_atDate the IP was last modified. (RFC 3339 format)
Source pool where the IP was reserved in.
Resource which the IP is attached to.
tagsTags for the IP.
Array of reverses associated with the IP.
regionRegion of the IP.
zoneZone of the IP, if zonal.
Get an IP
Retrieve details of an existing IP, specified by its IP ID.
path Parameters
regionThe region you want to target
ip_idIP ID. (UUID format)
Get an IP › Responses
idIP ID. (UUID format)
addressIPv4 or IPv6 address in CIDR notation. (IP network)
project_idScaleway Project the IP belongs to. (UUID format)
is_ipv6Defines whether the IP is an IPv6 (false = IPv4).
created_atDate the IP was reserved. (RFC 3339 format)
updated_atDate the IP was last modified. (RFC 3339 format)
Source pool where the IP was reserved in.
Resource which the IP is attached to.
tagsTags for the IP.
Array of reverses associated with the IP.
regionRegion of the IP.
zoneZone of the IP, if zonal.
Release an IP
Release an IP not currently attached to a resource, and returns it to the available IP pool.
path Parameters
regionThe region you want to target
ip_idIP ID. (UUID format)
Release an IP › Responses
Update an IP
Update parameters including tags of the specified IP.
path Parameters
regionThe region you want to target
ip_idIP ID. (UUID format)
Update an IP › Request Body
tagsTags for the IP.
Array of reverse domain names associated with an IP in the subnet of the current IP.
Update an IP › Responses
idIP ID. (UUID format)
addressIPv4 or IPv6 address in CIDR notation. (IP network)
project_idScaleway Project the IP belongs to. (UUID format)
is_ipv6Defines whether the IP is an IPv6 (false = IPv4).
created_atDate the IP was reserved. (RFC 3339 format)
updated_atDate the IP was last modified. (RFC 3339 format)
Source pool where the IP was reserved in.
Resource which the IP is attached to.
tagsTags for the IP.
Array of reverses associated with the IP.
regionRegion of the IP.
zoneZone of the IP, if zonal.
Attach private IP to custom resource
Attach an existing reserved private IP from a Private Network subnet to a custom, named resource via its MAC address. An example of a custom resource is a virtual machine hosted on an Elastic Metal server. Do not use this method for attaching IP addresses to standard Scaleway resources as it will fail - see the relevant product API for an equivalent method.
path Parameters
regionThe region you want to target
ip_idIP ID. (UUID format)
Attach private IP to custom resource › Request Body
Custom resource to be attached to the IP.
Attach private IP to custom resource › Responses
idIP ID. (UUID format)
addressIPv4 or IPv6 address in CIDR notation. (IP network)
project_idScaleway Project the IP belongs to. (UUID format)
is_ipv6Defines whether the IP is an IPv6 (false = IPv4).
created_atDate the IP was reserved. (RFC 3339 format)
updated_atDate the IP was last modified. (RFC 3339 format)
Source pool where the IP was reserved in.
Resource which the IP is attached to.
tagsTags for the IP.
Array of reverses associated with the IP.
regionRegion of the IP.
zoneZone of the IP, if zonal.
Detach private IP from a custom resource
Detach a private IP from a custom resource. An example of a custom resource is a virtual machine hosted on an Elastic Metal server. Do not use this method for detaching IP addresses from standard Scaleway resources (e.g. Instances, Load Balancers) as it will fail - see the relevant product API for an equivalent method.
path Parameters
regionThe region you want to target
ip_idIP ID. (UUID format)
Detach private IP from a custom resource › Request Body
Custom resource currently attached to the IP.
Detach private IP from a custom resource › Responses
idIP ID. (UUID format)
addressIPv4 or IPv6 address in CIDR notation. (IP network)
project_idScaleway Project the IP belongs to. (UUID format)
is_ipv6Defines whether the IP is an IPv6 (false = IPv4).
created_atDate the IP was reserved. (RFC 3339 format)
updated_atDate the IP was last modified. (RFC 3339 format)
Source pool where the IP was reserved in.
Resource which the IP is attached to.
tagsTags for the IP.
Array of reverses associated with the IP.
regionRegion of the IP.
zoneZone of the IP, if zonal.
Move private IP to a custom resource
Move an existing reserved private IP from one custom resource (e.g. a virtual machine hosted on an Elastic Metal server) to another custom resource. This will detach it from the first resource, and attach it to the second. Do not use this method for moving IP addresses between standard Scaleway resources (e.g. Instances, Load Balancers) as it will fail - see the relevant product API for an equivalent method.
path Parameters
regionThe region you want to target
ip_idIP ID. (UUID format)
Move private IP to a custom resource › Request Body
Custom resource currently attached to the IP.
Custom resource to be attached to the IP.
Move private IP to a custom resource › Responses
idIP ID. (UUID format)
addressIPv4 or IPv6 address in CIDR notation. (IP network)
project_idScaleway Project the IP belongs to. (UUID format)
is_ipv6Defines whether the IP is an IPv6 (false = IPv4).
created_atDate the IP was reserved. (RFC 3339 format)
updated_atDate the IP was last modified. (RFC 3339 format)
Source pool where the IP was reserved in.
Resource which the IP is attached to.
tagsTags for the IP.
Array of reverses associated with the IP.
regionRegion of the IP.
zoneZone of the IP, if zonal.