---
title: "DELETE /global-networks/{globalNetworkId}/transit-gateway-registrations/{transitGatewayArn}"
method: DELETE
path: "/global-networks/{globalNetworkId}/transit-gateway-registrations/{transitGatewayArn}"
---

# DELETE /global-networks/{globalNetworkId}/transit-gateway-registrations/{transitGatewayArn}

`DELETE /global-networks/{globalNetworkId}/transit-gateway-registrations/{transitGatewayArn}`

Deregisters a transit gateway from your global network. This action does not delete your transit gateway, or modify any of its attachments. This action removes any customer gateway associations.

## Path parameters

- `globalNetworkId` string, required
- `transitGatewayArn` string, required

## Response `200`

Success

- DeregisterTransitGatewayResponse
  - `TransitGatewayRegistration` object — The transit gateway registration information.
    - `GlobalNetworkId` string — The ID of the global network.
    - `TransitGatewayArn` string — The Amazon Resource Name (ARN) of the transit gateway.
    - `State` object — The state of the transit gateway registration.
      - `Code` 'PENDING' | 'AVAILABLE' | 'DELETING' | 'DELETED' | 'FAILED' — The code for the state reason.
      - `Message` string — The message for the state reason.

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