---
title: "Enable or disable IO statistics collection"
method: PUT
path: "/api/nvmeof/gateway/io_stats"
tags: ["NVMe-oF Gateway"]
---

# Enable or disable IO statistics collection

`PUT /api/nvmeof/gateway/io_stats`

## Request body

- object
  - `enabled` boolean, required — Enable IO statistics collection
  - `gw_group` string — NVMeoF gateway group
  - `server_address` string — NVMeoF gateway address

## 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-03-31** `9cf6ecad921e` — 1 warning
  - removed the request property `traddr`
- **2026-03-27** `5824065b0830` — 1 info
  - added the new optional request property `traddr`
- **2026-03-23** `467fa8438858` — 1 info
  - endpoint added
- **2026-03-17** `72f70029083e` — 1 breaking
  - api path removed without deprecation
- **2026-03-16** `61e9586bfbe6` — 1 info
  - endpoint added

[Full history](https://skmtc.dev/ceph/apis/ceph-rest-api/changes/api/nvmeof/gateway/io_stats/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.dev/ceph/apis/ceph-rest-api/revisions/75d6a5c84d6d?raw)
