Wallet storage endpoints
Edit wallet storage data
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.
post/user/{account}/wallet/storage/{key}
Request
- Base URLhttps://api.unstoppabledomains.com/profile
- Authnone declared. Required headers: Authorization
- TypeScripthttps://skmtc.dev/unstoppabledomains/apis/profile-api/docs/user/:account/wallet/storage/:key/post.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
accountstring required
The account ID to authenticate
Headers
Authorizationstring required
The JWT access token that authorizes the request
Request body
string required
A JSON serialized string that conforms to the Zod schema for the specified storage key
Example request
"[\"key3\",\"key4\"]"
Response
Wallet storage data
Example response
{
"createdDate": "2021-01-01",
"updatedDate": "2021-01-01",
"key": "key1",
"data": "value1"
}Changes
No recorded changes to this operation across all 1 revision of this API.