---
title: "Create or replace a key-value data entry for the client."
method: PUT
path: "http://localhost:8000/client/datastores/{name}/"
tags: ["client"]
---

# Create or replace a key-value data entry for the client.

`PUT http://localhost:8000/client/datastores/{name}/`

Create or replace a key-value data entry for the client.

Each entry is associated with a datastore, an optional project, an
optional user, and a key. Creating a request that duplicates this
quadruple will replace rather than create the value in the key-value
pair.

Entries associated with neither a project nor user are considered
global; those associated with a project but no user are project-
default; those associated with a user but no project are user-default;
and those associated with both a project and a user are user-project
specific. When listing key-value data, all four of these values, if
existing, will be returned.

## Path parameters

- `name` string, required

## Response `200`

OK

---

[API](https://skmtc.net/catmaid/apis/catmaid-api.md) · [All operations](https://skmtc.net/catmaid/apis/catmaid-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/catmaid/catmaid-api/revisions/adc1c7c5eefe/schema)
