---
title: "PATCH /global-networks/{globalNetworkId}/sites/{siteId}"
method: PATCH
path: "/global-networks/{globalNetworkId}/sites/{siteId}"
---

# PATCH /global-networks/{globalNetworkId}/sites/{siteId}

`PATCH /global-networks/{globalNetworkId}/sites/{siteId}`

Updates the information for an existing site. To remove information for any of the parameters, specify an empty string.

## Path parameters

- `globalNetworkId` string, required
- `siteId` string, required

## Request body

- object
  - `Description` string — <p>A description of your site.</p> <p>Constraints: Maximum length of 256 characters.</p>
  - `Location` object — Describes a location.
    - `Address` string — The physical address.
    - `Latitude` string — The latitude.
    - `Longitude` string — The longitude.

## Response `200`

Success

- UpdateSiteResponse
  - `Site` object — Information about the site.
    - `SiteId` string — The ID of the site.
    - `SiteArn` string — The Amazon Resource Name (ARN) of the site.
    - `GlobalNetworkId` string — The ID of the global network.
    - `Description` string — The description of the site.
    - `Location` object — The location of the site.
      - `Address` string — The physical address.
      - `Latitude` string — The latitude.
      - `Longitude` string — The longitude.
    - `CreatedAt` string, date-time — The date and time that the site was created.
    - `State` 'PENDING' | 'AVAILABLE' | 'DELETING' | 'UPDATING' — The state of the site.
    - `Tags` Tag[] — The tags for the site.
      - `Key` string — <p>The tag key.</p> <p>Constraints: Maximum length of 128 characters.</p>
      - `Value` string — <p>The tag value.</p> <p>Constraints: Maximum length of 256 characters.</p>

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