---
title: "Update scan mode"
method: PUT
path: "/api/scan-modes/{scanModeId}"
tags: ["Scan Modes"]
---

# Update scan mode

`PUT /api/scan-modes/{scanModeId}`

Updates an existing scan mode with new configuration

## Path parameters

- `scanModeId` string, required

## Request body

- ScanModeCommandDTO — Command DTO for creating or updating a scan mode. Used as the request body for scan mode creation/update endpoints.
  - `name` string, required — The name of the scan mode.
  - `description` string, required — A description of the scan mode's purpose or behavior.
  - `cron` string, required — A cron expression defining the scan schedule.

## Response `204`

Scan mode updated successfully

---

[API](https://skmtc.net/optimistiksas/apis/oibus-api.md) · [All operations](https://skmtc.net/optimistiksas/apis/oibus-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/optimistiksas/oibus-api/revisions/fe8fd32c9fdc/schema)
