---
title: "Change subsystem inband authentication key"
method: PUT
path: "/api/nvmeof/subsystem/{nqn}/change_key"
tags: ["NVMe-oF Subsystem"]
---

# Change subsystem inband authentication key

`PUT /api/nvmeof/subsystem/{nqn}/change_key`

## Path parameters

- `nqn` string, required

## Request body

- object
  - `dhchap_key` string, required — Subsystem DH-HMAC-CHAP key
  - `gw_group` string — NVMeoF gateway group
  - `server_address` string — NVMeoF gateway address
  - `traddr` string — NVMeoF gateway address (deprecated)

## Response `200`

Resource updated.

- object

## Other responses

- `202` — Operation is still executing. Please check the task queue.
- `400` — Operation exception. Please check the response body for details.
- `401` — Unauthenticated access. Please login first.
- `403` — Unauthorized access. Please check your permissions.
- `500` — Unexpected error. Please check the response body for the stack trace.

## Changes

- **2026-07-08** `8e288db87087` — 1 info
  - endpoint added
- **2026-07-01** `e8dbb5e55655` — 1 breaking
  - api path removed without deprecation
- **2026-06-30** `ecd4bae8a2f1` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/ceph/apis/ceph-rest-api/changes/api/nvmeof/subsystem/:nqn/change_key/put.md)

---

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