---
title: "PUT /minions/timeout/{minionId}"
method: PUT
path: "/minions/timeout/{minionId}"
tags: ["Minions"]
---

# PUT /minions/timeout/{minionId}

`PUT /minions/timeout/{minionId}`

## Request

- Base URL: `/API` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/API/minions/timeout/{minionId}`
- Auth: one of:
  - API key in header `authentication`
  - API key in header `authentication`
- TypeScript: <https://skmtc.dev/casanet/apis/casanet-local-server/docs/minions/timeout/:minionId/put.ts> (a function with typed inputs; its response is checked against the schema)

Update minion auto turns off timeout.

## Path parameters

- `minionId` string, required

## Request body

- SetMinionAutoTurnOff: Used to change the minion auto turn off the timeout value.
  - `setAutoTurnOffMS` number, double, required: The timeout duration in ms, to turn off set 0 as valse.

## Response `204`

No content

## Other responses

- `501`: Server error

---

[API](https://skmtc.dev/casanet/apis/casanet-local-server.md) - [All operations](https://skmtc.dev/casanet/apis/casanet-local-server/llms.txt) - [OpenAPI document](https://skmtc.dev/casanet/apis/casanet-local-server/revisions/0f9f76cd80d5?raw)
