---
title: "Edit wallet storage data"
method: POST
path: "/user/{account}/wallet/storage/{key}"
tags: ["Wallet storage endpoints"]
---

# Edit wallet storage data

`POST /user/{account}/wallet/storage/{key}`

Create a new wallet storage data entry or make updates to an existing wallet storage data entry. The body should contain a JSON serialized string that conforms to the Zod schema for the specified storage key. See below for an example of saving an array with two values. Specific schemas and examples can be retrieved using the associated /keys list endpoint. Authentication is required using domain owner signature.

## Path parameters

- `account` string, required

## Headers

- `Authorization` string, required

## Request body

- string — A JSON serialized string that conforms to the Zod schema for the specified storage key

## Response `200`

Wallet storage data

- WalletStorageData
  - `createdDate` string — The date the storage key was created
  - `updatedDate` string — The date the storage key was last updated
  - `key` string — The key of the storage data
  - `data` string — The data of the storage key
  - `schema` string — A serialized Zod schema that represents the data format. Use https://github.com/StefanTerdell/json-schema-to-zod to recreate the Zod schema on a client.

## Other responses

- `403` — Account not authorized

---

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