Skip to main content
This topic describes the API procedure to manage IPFIX flow export targets on Megaport Cloud Router (MCR) and Megaport NAT Gateway (NAT Gateway) services. (IP Flow Information Export) is a standard protocol for exporting network flow information to monitoring systems. You can configure IPFIX targets on your MCR or NAT Gateway to send flow records to external collectors for traffic analysis, capacity planning, and security monitoring. Each MCR or NAT Gateway supports up to 3 IPFIX targets. Flow records are exported to the configured collector using either UDP or TCP transport. Before you begin, obtain a valid access token. For more information, see Creating an API Key.

MCR IPFIX target endpoints

Creating an IPFIX target

To create an IPFIX target on an MCR, send a POST request with the target configuration. Endpoint
Path Parameters Request Body Example Request
Example Response

Getting an IPFIX target

Retrieve a specific IPFIX target by its ID. Endpoint
Path Parameters Example Request
Example Response

Updating an IPFIX target

Update an existing IPFIX target configuration. Endpoint
Path Parameters Request Body The request body uses the same fields as the create request. Example Request

Deleting an IPFIX target

Delete a specific IPFIX target from an MCR.
A target cannot be deleted if it is still assigned to an interface.
Endpoint
Path Parameters Example Request
Example Response

Listing IPFIX targets

Retrieve all IPFIX targets configured on an MCR. Endpoint
Path Parameters Example Request
Example Response

NAT Gateway IPFIX target endpoints

Creating an IPFIX target

To create an IPFIX target on a NAT Gateway, send a POST request with the target configuration. Endpoint
Path Parameters Request Body Example Request
Example Response

Getting an IPFIX target

Retrieve a specific IPFIX target by its ID. Endpoint
Path Parameters Example Request
Example Response

Updating an IPFIX target

Update an existing IPFIX target configuration. Endpoint
Path Parameters Request Body The request body uses the same fields as the create request. Example Request

Deleting an IPFIX target

Delete a specific IPFIX target from a NAT Gateway.
A target cannot be deleted if it is still assigned to an interface.
Endpoint
Path Parameters Example Request
Example Response

Listing IPFIX target summaries

Retrieve summaries of all IPFIX targets configured on a NAT Gateway. Endpoint
Path Parameters Example Request
Example Response

Error responses

When a request fails, the API returns an error response with details about the issue.

Helpful references

Last modified on August 21, 2026