---
title: "DELETE /global-networks/{globalNetworkId}/link-associations#deviceId&linkId"
method: DELETE
path: "/global-networks/{globalNetworkId}/link-associations#deviceId&linkId"
---

# DELETE /global-networks/{globalNetworkId}/link-associations#deviceId&linkId

`DELETE /global-networks/{globalNetworkId}/link-associations#deviceId&linkId`

Disassociates an existing device from a link. You must first disassociate any customer gateways that are associated with the link.

## Path parameters

- `globalNetworkId` string, required

## Query parameters

- `deviceId` string, required
- `linkId` string, required

## Response `200`

Success

- DisassociateLinkResponse
  - `LinkAssociation` object — Information about the link association.
    - `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.

## Other responses

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