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

# UpdateDeviceName

`PUT /devices/{deviceId}/name`

Update the device name. The default name is the same as the device id.

## Path parameters

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

## Request body

- string — Friendly device name. Can be used for searching and filtering devices.

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