---
title: "Change the name of a authentication device"
method: POST
path: "/mgmt/v1/registrations/rename/{deviceId}"
tags: ["Device Management"]
---

# Change the name of a authentication device

`POST /mgmt/v1/registrations/rename/{deviceId}`

## Path parameters

- `deviceId` string, required
- `id` string, required

## Request body

- ModelsRenameDevice
  - `newName` string, required

## Other responses

- `200` — unresolved $ref
- `401` — You are not authenticated. Provide your credentials.
- `404` — Resource not found.
- `500` — Internal Server Error.

---

[API](https://skmtc.dev/hanko/apis/hanko-admin-api.md) · [All operations](https://skmtc.dev/hanko/apis/hanko-admin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hanko/apis/hanko-admin-api/revisions/d22a127b0978?raw)
