---
title: "Set the variable store for the global storage"
method: PUT
path: "/mimic/store/set/{var}/{persist}"
tags: ["Daemon"]
---

# Set the variable store for the global storage

`PUT /mimic/store/set/{var}/{persist}`

Persist 1 means persistent , 0 means non-persistent

## Path parameters

- `var` string, required
- `persist` integer, required

## Request body

- string

## Response `200`

successful operation

- string

## Other responses

- `400` — Invalid agent number value

---

[API](https://skmtc.dev/gambitcomm/apis/mimic-rest-api.md) · [All operations](https://skmtc.dev/gambitcomm/apis/mimic-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gambitcomm/mimic-rest-api/revisions/eb67c54e9ec9/schema)
