---
title: "PATCH /global-networks/{globalNetworkId}/devices/{deviceId}"
method: PATCH
path: "/global-networks/{globalNetworkId}/devices/{deviceId}"
---

# PATCH /global-networks/{globalNetworkId}/devices/{deviceId}

`PATCH /global-networks/{globalNetworkId}/devices/{deviceId}`

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

## Path parameters

- `globalNetworkId` string, required
- `deviceId` string, required

## Request body

- object
  - `AWSLocation` object — Specifies a location in Amazon Web Services.
    - `Zone` string — The Zone that the device is located in. Specify the ID of an Availability Zone, Local Zone, Wavelength Zone, or an Outpost.
    - `SubnetArn` string — The Amazon Resource Name (ARN) of the subnet that the device is located in.
  - `Description` string — <p>A description of the device.</p> <p>Constraints: Maximum length of 256 characters.</p>
  - `Type` string — The type of the device.
  - `Vendor` string — <p>The vendor of the device.</p> <p>Constraints: Maximum length of 128 characters.</p>
  - `Model` string — <p>The model of the device.</p> <p>Constraints: Maximum length of 128 characters.</p>
  - `SerialNumber` string — <p>The serial number of the device.</p> <p>Constraints: Maximum length of 128 characters.</p>
  - `Location` object — Describes a location.
    - `Address` string — The physical address.
    - `Latitude` string — The latitude.
    - `Longitude` string — The longitude.
  - `SiteId` string — The ID of the site.

## Response `200`

Success

- UpdateDeviceResponse
  - `Device` object — Information about the device.
    - `DeviceId` string — The ID of the device.
    - `DeviceArn` string — The Amazon Resource Name (ARN) of the device.
    - `GlobalNetworkId` string — The ID of the global network.
    - `AWSLocation` object — The Amazon Web Services location of the device.
      - `Zone` string — The Zone that the device is located in. Specify the ID of an Availability Zone, Local Zone, Wavelength Zone, or an Outpost.
      - `SubnetArn` string — The Amazon Resource Name (ARN) of the subnet that the device is located in.
    - `Description` string — The description of the device.
    - `Type` string — The device type.
    - `Vendor` string — The device vendor.
    - `Model` string — The device model.
    - `SerialNumber` string — The device serial number.
    - `Location` object — The site location.
      - `Address` string — The physical address.
      - `Latitude` string — The latitude.
      - `Longitude` string — The longitude.
    - `SiteId` string — The site ID.
    - `CreatedAt` string, date-time — The date and time that the site was created.
    - `State` 'PENDING' | 'AVAILABLE' | 'DELETING' | 'UPDATING' — The device state.
    - `Tags` Tag[] — The tags for the device.
      - `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)
