---
title: "PUT /rf/fetch-commands/{minionId}"
method: PUT
path: "/rf/fetch-commands/{minionId}"
tags: ["RF"]
---

# PUT /rf/fetch-commands/{minionId}

`PUT /rf/fetch-commands/{minionId}`

Fetch commands set for certain minion see https://github.com/casanet/rf-commands-repo API.

## Path parameters

- `minionId` string, required

## Request body

- CommandsRepoDevice — Device in commands repo project. see https://github.com/casanet/rf-commands-repo. API section
  - `brand` string, required
  - `model` string, required
  - `category` 'toggle' | 'switch' | 'temperatureSensor' | 'roller' | 'cleaner' | 'airConditioning' | 'light' | 'temperatureLight' | 'colorLight', required — Supported minions types.

## Response `204`

No content

## Other responses

- `501` — Server error

---

[API](https://skmtc.net/casanet/apis/casanet-local-server.md) · [All operations](https://skmtc.net/casanet/apis/casanet-local-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/casanet/casanet-local-server/versions/0f9f76cd80d5/schema)
