Documentation for scw ipam

April 29, 2026 ยท View on GitHub

This API allows you to manage your Scaleway IP addresses with our IP Address Management tool.

IP management command

*ips_long.

Reserve a new IP

Reserve a new IP from the specified source. Currently IPs can only be reserved from a Private Network.

Usage:

scw ipam ip create [arg=value ...]

Args:

NameDescription
project-idProject ID to use. If none is passed the default project ID will be used
source.zonalZone the IP lives in if the IP is a public zoned IP.
source.private-network-idPrivate Network the IP lives in if the IP is a private IP.
source.subnet-idPrivate Network subnet the IP lives in if the IP is a private IP in a Private Network.
source.vpc-id
is-ipv6Request an IPv6 instead of an IPv4
addressRequest this specific IP address in the specified source pool
tags.{index}Tags for the IP
resource.mac-addressMAC address of the custom resource
resource.nameName of the custom resource
regionDefault: fr-par
One of: fr-par, it-mil, nl-ams, pl-waw
Region to target. If none is passed will use default region from the config

Release an IP

Release an IP not currently attached to a resource, and returns it to the available IP pool.

Usage:

scw ipam ip delete <ip-id ...> [arg=value ...]

Args:

NameDescription
ip-idRequiredIP ID
regionDefault: fr-par
One of: fr-par, it-mil, nl-ams, pl-waw
Region to target. If none is passed will use default region from the config

Get an IP

Retrieve details of an existing IP, specified by its IP ID.

Usage:

scw ipam ip get <ip-id ...> [arg=value ...]

Args:

NameDescription
ip-idRequiredIP ID
regionDefault: fr-par
One of: fr-par, it-mil, nl-ams, pl-waw
Region to target. If none is passed will use default region from the config

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.

Usage:

scw ipam ip list [arg=value ...]

Args:

NameDescription
order-byOne of: created_at_desc, created_at_asc, updated_at_desc, updated_at_asc, attached_at_desc, attached_at_asc, ip_address_desc, ip_address_asc, mac_address_desc, mac_address_ascSort order of the returned IPs
project-idProject ID to filter for. Only IPs belonging to this Project will be returned
zonalZone to filter for. Only IPs that are zonal, and in this zone, will be returned
private-network-idPrivate Network to filter for.
subnet-idSubnet ID to filter for.
vpc-idVPC ID to filter for.
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
resource-ids.{index}Resource IDs to filter for. Only IPs attached to at least one of these resources will be returned
resource-typeOne of: unknown_type, custom, instance_server, instance_ip, instance_private_nic, lb_server, fip_ip, vpc_gateway, vpc_gateway_network, k8s_node, k8s_cluster, rdb_instance, redis_cluster, baremetal_server, baremetal_private_nic, llm_deployment, mgdb_instance, apple_silicon_server, apple_silicon_private_nic, serverless_container, serverless_function, vpn_gateway, ddl_datalab, kafka_cluster, bgp_endpoint, scbl_sedb_cluster, dtwh_deployment, sedb_cluster, msgq_cluster, edge_vpc_endpointResource type to filter for. Only IPs attached to this type of resource will be returned
resource-types.{index}One of: unknown_type, custom, instance_server, instance_ip, instance_private_nic, lb_server, fip_ip, vpc_gateway, vpc_gateway_network, k8s_node, k8s_cluster, rdb_instance, redis_cluster, baremetal_server, baremetal_private_nic, llm_deployment, mgdb_instance, apple_silicon_server, apple_silicon_private_nic, serverless_container, serverless_function, vpn_gateway, ddl_datalab, kafka_cluster, bgp_endpoint, scbl_sedb_cluster, dtwh_deployment, sedb_cluster, msgq_cluster, edge_vpc_endpointResource 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
tags.{index}Tags to filter for, only IPs with one or more matching tags will be returned
is-ipv6Defines whether to filter only for IPv4s or IPv6s
ip-ids.{index}IP IDs to filter for. Only IPs with these UUIDs will be returned
source-vpc-id
organization-idOrganization ID to filter for. Only IPs belonging to this Organization will be returned
regionDefault: fr-par
One of: fr-par, it-mil, nl-ams, pl-waw, all
Region to target. If none is passed will use default region from the config

Update an IP

Update parameters including tags of the specified IP.

Usage:

scw ipam ip update <ip-id ...> [arg=value ...]

Args:

NameDescription
ip-idRequiredIP ID
tags.{index}Tags for the IP
reverses.{index}.hostnameReverse domain name
reverses.{index}.addressIP corresponding to the hostname
regionDefault: fr-par
One of: fr-par, it-mil, nl-ams, pl-waw
Region to target. If none is passed will use default region from the config

Management command for sets of IPs

*ips_long.

Release ipam resources

Release ipam resources.

Usage:

scw ipam ip-set release [arg=value ...]

Args:

NameDescription
ip-ids.{index}
regionDefault: fr-par
One of: fr-par, it-mil, nl-ams, pl-waw
Region to target. If none is passed will use default region from the config