Public Gateways are building blocks for your infrastructure on Scaleway's shared public cloud. They provide a set of managed network services and features for Scaleway's Private Networks such NAT and PAT rules.
List Public Gateways
List Public Gateways in a given Scaleway Organization or Project. By default, results are displayed in ascending order of creation date.
path Parameters
zoneThe zone you want to target
query Parameters
order_byOrder in which to return results.
pagePage number to return.
page_sizeGateways per page.
organization_idInclude only gateways in this Organization. (UUID format)
project_idInclude only gateways in this Project. (UUID format)
nameFilter for gateways which have this search term in their name.
tagsFilter for gateways with these tags.
typesFilter for gateways of these types.
statusFilter for gateways with these status. Use unknown to include all statuses.
private_network_idsFilter for gateways attached to these Private Networks.
include_legacyInclude also legacy gateways.
List Public Gateways › Responses
Gateways on this page.
total_countTotal count of gateways matching the filter.
Create a Public Gateway
Create a new Public Gateway in the specified Scaleway Project, defining its name, type and other configuration details such as whether to enable SSH bastion.
path Parameters
zoneThe zone you want to target
Create a Public Gateway › Request Body
project_idScaleway Project to create the gateway in. (UUID format)
nameName for the gateway.
tagsTags for the gateway.
typeGateway type (commercial offer type).
ip_idExisting IP address to attach to the gateway. (UUID format)
enable_smtpDefines whether SMTP traffic should be allowed pass through the gateway.
enable_bastionDefines whether SSH bastion should be enabled the gateway.
bastion_portPort of the SSH bastion.
Create a Public Gateway › Responses
idID of the gateway. (UUID format)
organization_idOwning Organization. (UUID format)
project_idOwning Project. (UUID format)
created_atGateway creation date. (RFC 3339 format)
updated_atGateway last modification date. (RFC 3339 format)
typeGateway type name (commercial offer).
bandwidthBandwidth available of the gateway.
statusCurrent status of the gateway.
nameName of the gateway.
tagsTags associated with the gateway.
Public IPv4 address of the gateway.
GatewayNetwork objects attached to the gateway (each one represents a connection to a Private Network).
versionVersion of the running gateway software.
can_upgrade_toNewly available gateway software version that can be updated to.
bastion_enabledDefines whether SSH bastion is enabled on the gateway.
bastion_portPort of the SSH bastion.
smtp_enabledDefines whether SMTP traffic is allowed to pass through the gateway.
is_legacyDefines whether the gateway uses non-IPAM IP configurations.
bastion_allowed_ipsRanges of IP addresses allowed to connect to the gateway's SSH bastion. (IP network)
zoneZone of the gateway.
Get a Public Gateway
Get details of a Public Gateway, specified by its gateway ID. The response object contains full details of the gateway, including its name, type, status and more.
path Parameters
zoneThe zone you want to target
gateway_idID of the gateway to fetch. (UUID format)
Get a Public Gateway › Responses
idID of the gateway. (UUID format)
organization_idOwning Organization. (UUID format)
project_idOwning Project. (UUID format)
created_atGateway creation date. (RFC 3339 format)
updated_atGateway last modification date. (RFC 3339 format)
typeGateway type name (commercial offer).
bandwidthBandwidth available of the gateway.
statusCurrent status of the gateway.
nameName of the gateway.
tagsTags associated with the gateway.
Public IPv4 address of the gateway.
GatewayNetwork objects attached to the gateway (each one represents a connection to a Private Network).
versionVersion of the running gateway software.
can_upgrade_toNewly available gateway software version that can be updated to.
bastion_enabledDefines whether SSH bastion is enabled on the gateway.
bastion_portPort of the SSH bastion.
smtp_enabledDefines whether SMTP traffic is allowed to pass through the gateway.
is_legacyDefines whether the gateway uses non-IPAM IP configurations.
bastion_allowed_ipsRanges of IP addresses allowed to connect to the gateway's SSH bastion. (IP network)
zoneZone of the gateway.
Delete a Public Gateway
Delete an existing Public Gateway, specified by its gateway ID. This action is irreversible.
path Parameters
zoneThe zone you want to target
gateway_idID of the gateway to delete. (UUID format)
query Parameters
delete_ipDefines whether the PGW's IP should be deleted.
Delete a Public Gateway › Responses
idID of the gateway. (UUID format)
organization_idOwning Organization. (UUID format)
project_idOwning Project. (UUID format)
created_atGateway creation date. (RFC 3339 format)
updated_atGateway last modification date. (RFC 3339 format)
typeGateway type name (commercial offer).
bandwidthBandwidth available of the gateway.
statusCurrent status of the gateway.
nameName of the gateway.
tagsTags associated with the gateway.
Public IPv4 address of the gateway.
GatewayNetwork objects attached to the gateway (each one represents a connection to a Private Network).
versionVersion of the running gateway software.
can_upgrade_toNewly available gateway software version that can be updated to.
bastion_enabledDefines whether SSH bastion is enabled on the gateway.
bastion_portPort of the SSH bastion.
smtp_enabledDefines whether SMTP traffic is allowed to pass through the gateway.
is_legacyDefines whether the gateway uses non-IPAM IP configurations.
bastion_allowed_ipsRanges of IP addresses allowed to connect to the gateway's SSH bastion. (IP network)
zoneZone of the gateway.
Update a Public Gateway
Update the parameters of an existing Public Gateway, for example, its name, tags, SSH bastion configuration, and DNS servers.
path Parameters
zoneThe zone you want to target
gateway_idID of the gateway to update. (UUID format)
Update a Public Gateway › Request Body
nameName for the gateway.
tagsTags for the gateway.
enable_bastionDefines whether SSH bastion should be enabled the gateway.
bastion_portPort of the SSH bastion.
enable_smtpDefines whether SMTP traffic should be allowed to pass through the gateway.
Update a Public Gateway › Responses
idID of the gateway. (UUID format)
organization_idOwning Organization. (UUID format)
project_idOwning Project. (UUID format)
created_atGateway creation date. (RFC 3339 format)
updated_atGateway last modification date. (RFC 3339 format)
typeGateway type name (commercial offer).
bandwidthBandwidth available of the gateway.
statusCurrent status of the gateway.
nameName of the gateway.
tagsTags associated with the gateway.
Public IPv4 address of the gateway.
GatewayNetwork objects attached to the gateway (each one represents a connection to a Private Network).
versionVersion of the running gateway software.
can_upgrade_toNewly available gateway software version that can be updated to.
bastion_enabledDefines whether SSH bastion is enabled on the gateway.
bastion_portPort of the SSH bastion.
smtp_enabledDefines whether SMTP traffic is allowed to pass through the gateway.
is_legacyDefines whether the gateway uses non-IPAM IP configurations.
bastion_allowed_ipsRanges of IP addresses allowed to connect to the gateway's SSH bastion. (IP network)
zoneZone of the gateway.
Refresh a Public Gateway's SSH keys
Refresh the SSH keys of a given Public Gateway, specified by its gateway ID. This adds any new SSH keys in the gateway's Scaleway Project to the gateway itself.
path Parameters
zoneThe zone you want to target
gateway_idID of the gateway to refresh SSH keys on. (UUID format)
Refresh a Public Gateway's SSH keys › Responses
idID of the gateway. (UUID format)
organization_idOwning Organization. (UUID format)
project_idOwning Project. (UUID format)
created_atGateway creation date. (RFC 3339 format)
updated_atGateway last modification date. (RFC 3339 format)
typeGateway type name (commercial offer).
bandwidthBandwidth available of the gateway.
statusCurrent status of the gateway.
nameName of the gateway.
tagsTags associated with the gateway.
Public IPv4 address of the gateway.
GatewayNetwork objects attached to the gateway (each one represents a connection to a Private Network).
versionVersion of the running gateway software.
can_upgrade_toNewly available gateway software version that can be updated to.
bastion_enabledDefines whether SSH bastion is enabled on the gateway.
bastion_portPort of the SSH bastion.
smtp_enabledDefines whether SMTP traffic is allowed to pass through the gateway.
is_legacyDefines whether the gateway uses non-IPAM IP configurations.
bastion_allowed_ipsRanges of IP addresses allowed to connect to the gateway's SSH bastion. (IP network)
zoneZone of the gateway.
Upgrade a Public Gateway to the latest version and/or to a different commercial offer type
Upgrade a given Public Gateway to the newest software version or to a different commercial offer type. This applies the latest bugfixes and features to your Public Gateway. Note that gateway service will be interrupted during the update.
path Parameters
zoneThe zone you want to target
gateway_idID of the gateway to upgrade. (UUID format)
Upgrade a Public Gateway to the latest version and/or to a different commercial offer type › Request Body
typeGateway type (commercial offer).
Upgrade a Public Gateway to the latest version and/or to a different commercial offer type › Responses
idID of the gateway. (UUID format)
organization_idOwning Organization. (UUID format)
project_idOwning Project. (UUID format)
created_atGateway creation date. (RFC 3339 format)
updated_atGateway last modification date. (RFC 3339 format)
typeGateway type name (commercial offer).
bandwidthBandwidth available of the gateway.
statusCurrent status of the gateway.
nameName of the gateway.
tagsTags associated with the gateway.
Public IPv4 address of the gateway.
GatewayNetwork objects attached to the gateway (each one represents a connection to a Private Network).
versionVersion of the running gateway software.
can_upgrade_toNewly available gateway software version that can be updated to.
bastion_enabledDefines whether SSH bastion is enabled on the gateway.
bastion_portPort of the SSH bastion.
smtp_enabledDefines whether SMTP traffic is allowed to pass through the gateway.
is_legacyDefines whether the gateway uses non-IPAM IP configurations.
bastion_allowed_ipsRanges of IP addresses allowed to connect to the gateway's SSH bastion. (IP network)
zoneZone of the gateway.