---
title: "GET /global-networks/{globalNetworkId}/link-associations"
method: GET
path: "/global-networks/{globalNetworkId}/link-associations"
---

# GET /global-networks/{globalNetworkId}/link-associations

`GET /global-networks/{globalNetworkId}/link-associations`

Gets the link associations for a device or a link. Either the device ID or the link ID must be specified.

## Path parameters

- `globalNetworkId` string, required

## Query parameters

- `deviceId` string
- `linkId` string
- `maxResults` integer
- `nextToken` string
- `MaxResults` string
- `NextToken` string

## Response `200`

Success

- GetLinkAssociationsResponse
  - `LinkAssociations` LinkAssociation[] — The link associations.
    - `GlobalNetworkId` string — The ID of the global network.
    - `DeviceId` string — The device ID for the link association.
    - `LinkId` string — The ID of the link.
    - `LinkAssociationState` 'PENDING' | 'AVAILABLE' | 'DELETING' | 'DELETED' — The state of the association.
  - `NextToken` string — The token for the next page of results.

## Other responses

- `480` — ValidationException
- `481` — AccessDeniedException
- `482` — ResourceNotFoundException
- `483` — ThrottlingException
- `484` — 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)
