---
title: "POST /device/strategy/vars/floats/{floatName}"
method: POST
path: "/device/strategy/vars/floats/{floatName}"
tags: ["all", "vars"]
---

# POST /device/strategy/vars/floats/{floatName}

`POST /device/strategy/vars/floats/{floatName}`

Sets the value of a float variable

## Path parameters

- `floatName` string, required

## Request body

- FloatValueObject
  - `value` number, float — Value of the float variable

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not found

---

[API](https://skmtc.net/opto22/apis/pac.md) · [All operations](https://skmtc.net/opto22/apis/pac/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/opto22/pac/versions/2288d966c8f4/schema)
