> ## Documentation Index
> Fetch the complete documentation index at: https://docs.megaport.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Changing a VXC Configuration with the API

> This help topic describes how to use the Megaport API to change the configured details of a VXC.

This topic describes how to change configuration details of an existing VXC. For more information, see [PUT Update VXC (v3)](https://dev.megaport.com/#4293df4a-545d-45a2-bfa1-90f41df13160) in the API reference.

You can change the VXC service name, rate limit, VLAN IDs, contract term, VXC state (enabled or shut down), and A-End and B-End productUids, by updating any of these parameters in the Body of the request:

```json theme={"theme":{"light":"github-light-high-contrast","dark":"github-dark-high-contrast"}}
{
  "name": "My updated API created VXC",
  "rateLimit": 100,
  "aEndVlan": 301,
  "bEndVlan": 402,
  "term":12,
  "shutdown": true,
  "aEndProductUid": "a3ec7ef6-7e29-4a3f-a37d-582b468fd68b",
  "bEndProductUid": "9be424c0-87c7-480e-9d62-57f619bf6e2f"
}
```

Before you begin, obtain a valid access token. For more information, see [Creating an API Key](https://docs.megaport.com/api/api-key.md).

**To change the VXC details in the Postman collection**

1. In Postman, expand **Connections > Virtual Cross Connects** in the left navigation and click **PUT Update VXC (v3)**.

2. Identify the VXC to update by adding the `productUid` to the endpoint.

   ![Update VXC request](https://docs.megaport.com/images/api/api-vxc-change-put-url.png)

3. Select the **Body** tab and update VXC details for name, rate limit, VLAN IDs, contract term, A-End productUid, or B-End productUid.\
   Change the productUid if you want to move the A-End or B-End of the VXC.\
   The update request only needs to include the parameters you want to change.\
   This example changes the following values.

   ![Update VXC request](https://docs.megaport.com/images/api/api-vxc-change-params.png)

4. Click **Send**.\
   The changes will be reflected in the Portal within two minutes.

## Helpful references

* [Moving a VXC and IX with the API](https://docs.megaport.com/api/api-vxc-move.md)
* [Shutting Down a VXC and IX with the API](https://docs.megaport.com/api/api-vxc-shut-down.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.