---
title: "Create or update persistent storage entry"
method: PUT
path: "/v1/persistent-storage/{key}"
tags: ["Persistent Storage"]
---

# Create or update persistent storage entry

`PUT /v1/persistent-storage/{key}`

Set value of persistent storage entry, creating it if it does not exist. Requires
PERSISTENT_STORAGE system access right. Changes are written to the database asynchronously
by the server's periodic synchronization.

## Request body

- object
  - `value` string, required — Entry value.

## Response `200`

Entry created or updated.

- PersistentStorageEntry
  - `key` string — Entry key.
  - `value` string — Entry value.

## Other responses

- `400` — Invalid key, missing value, or value too long.
- `401` — Unauthorized.
- `403` — Access denied.

## Changes

- **2026-09-30** `d3ebef46a35c` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/netxms/apis/netxms-api/changes/v1/persistent-storage/:key/put.md)

---

[API](https://skmtc.dev/netxms/apis/netxms-api.md) · [All operations](https://skmtc.dev/netxms/apis/netxms-api/llms.txt) · [OpenAPI document](https://skmtc.dev/netxms/apis/netxms-api/revisions/129789f8868f?raw)
