---
title: "Sets OSD flags for a subset of individual OSDs."
method: PUT
path: "/api/osd/flags/individual"
tags: ["OSD"]
---

# Sets OSD flags for a subset of individual OSDs.

`PUT /api/osd/flags/individual`

Updates flags (`noout`, `noin`, `nodown`, `noup`) for an individual
        subset of OSDs.

## Request body

- object
  - `flags` object, required — Directory of flags to set or unset. The flags `noin`, `noout`, `noup` and `nodown` are going to be considered only.
    - `nodown` boolean — Sets/unsets `nodown`
    - `noin` boolean — Sets/unsets `noin`
    - `noout` boolean — Sets/unsets `noout`
    - `noup` boolean — Sets/unsets `noup`
  - `ids` integer[], required — List of OSD ids the flags should be applied to.

## Response `200`

Resource updated.

- object
  - `added` string[], required — List of added flags
  - `ids` integer[], required — List of updated OSDs
  - `removed` string[], required — List of removed flags

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

---

[API](https://skmtc.net/ceph/apis/ceph-rest-api.md) · [All operations](https://skmtc.net/ceph/apis/ceph-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ceph/ceph-rest-api/versions/b03ae23c3806/schema)
