---
title: "POST /global-networks/{globalNetworkId}/connect-peer-associations"
method: POST
path: "/global-networks/{globalNetworkId}/connect-peer-associations"
---

# POST /global-networks/{globalNetworkId}/connect-peer-associations

`POST /global-networks/{globalNetworkId}/connect-peer-associations`

Associates a core network Connect peer with a device and optionally, with a link.

If you specify a link, it must be associated with the specified device. You can only associate core network Connect peers that have been created on a core network Connect attachment on a core network.

## Path parameters

- `globalNetworkId` string, required

## Request body

- object
  - `ConnectPeerId` string, required — The ID of the Connect peer.
  - `DeviceId` string, required — The ID of the device.
  - `LinkId` string — The ID of the link.

## Response `200`

Success

- AssociateConnectPeerResponse
  - `ConnectPeerAssociation` object — The response to the Connect peer request.
    - `ConnectPeerId` string — The ID of the Connect peer.
    - `GlobalNetworkId` string — The ID of the global network.
    - `DeviceId` string — The ID of the device to connect to.
    - `LinkId` string — The ID of the link.
    - `State` 'PENDING' | 'AVAILABLE' | 'DELETING' | 'DELETED' — The state of the Connect peer association.

## Other responses

- `480` — ValidationException
- `481` — ServiceQuotaExceededException
- `482` — AccessDeniedException
- `483` — ResourceNotFoundException
- `484` — ConflictException
- `485` — ThrottlingException
- `486` — InternalServerException

---

[API](https://skmtc.net/aws/apis/networkmanager.md) · [All operations](https://skmtc.net/aws/apis/networkmanager/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/networkmanager/versions/4ea0acef56bf/schema)
