Skip to navigation

Locations API v3 and Invoice APIs Updated

GET /v3/locations – The Megaport Portal has been updated to use the new /v3/locations API endpoint instead of /v2/locations. The /v2/locations public API is now deprecated and will be fully decommissioned on 31 July 2025. For more information, see API Deprecation Notices and Frequently Asked Questions (FAQs).

Invoice APIs Updated to V3 – The Megaport Portal has been updated to use the new v3 invoice API endpoints instead of v2. Note also that companyId has been updated to companyUid, and supplierId has been added to the URL in the v3 version. The v2 public APIs are now deprecated and will be fully decommissioned on 31 July 2025. For more information, see API Deprecation Notices and Frequently Asked Questions (FAQs).

Disallow Service Deletion when Connected VXCs Exist – Previously, deleting a product in the Megaport Terraform Provider, either explicitly or due to Port speed changes, could inadvertently delete attached VXCs. This caused an issue as the Megaport Terraform Provider was unaware of the deletion, which led to unexpected results. Therefore, a query parameter safe_delete=true has been added to delete calls in the Megaport Terraform Provider, which tells the API to return an error when deleting a product if it has attached VXCs. This makes it clear to the user that they need to move the VXC first, or delete it independently of their current operation, without causing issues to the Terraform state. This does not affect existing API or Portal users.