---
title: "UpdateDeviceImage"
method: PUT
path: "/devices/{deviceId}/image"
tags: ["All Devices"]
---

# UpdateDeviceImage

`PUT /devices/{deviceId}/image`

Update the image associated with a device, as displayed on nrfCloud.com. If uploading an image, add image to the request body (JPEG or PNG only). Otherwise, use the `sourceUrl` query param to set the device image to an existing image on the Web.

## Path parameters

- `deviceId` string, required — This is the canonical device id used in the device certificate, and as the MQTT client id.

## Query parameters

- `sourceUrl` string

## Request body

- string

## Response `202`

---

[API](https://skmtc.dev/nrfcloud/apis/nrf-cloud-rest-api.md) · [All operations](https://skmtc.dev/nrfcloud/apis/nrf-cloud-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nrfcloud/nrf-cloud-rest-api/revisions/c4e56e458ebf/schema)
