> ## 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.

export const Image = ({src, alt = '', caption, width, height, shadow}) => {
  const errorPrefix = '\x1b[31;1;4mERROR\x1b[0m: Image -';
  if (typeof src !== 'string') {
    src = String(src);
  }
  if (!src || src === 'undefined') {
    console.error(`${errorPrefix} \`src\` is required — rendering an empty string instead`);
    return <></>;
  }
  const img = <img className={['mega-image-style', shadow ? 'shadow' : ''].join(' ')} src={src} alt={alt} width={width} height={height} style={{
    display: 'block'
  }} />;
  return caption ? <figure>
      {img}
      <figcaption style={{
    textAlign: 'center',
    width
  }}>{caption}</figcaption>
    </figure> : img;
};

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](/api/api-key).

**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.
   <Image src="/images/api/api-vxc-change-put-url.png" alt="Update VXC request" shadow={true} width={800} />

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.
   <Image src="/images/api/api-vxc-change-params.png" alt="Update VXC request" shadow={true} width={800} />

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

## Helpful references

* [Moving a VXC and IX with the API](/api/api-vxc-move)
* [Shutting Down a VXC and IX with the API](/api/api-vxc-shut-down)
