---
title: "POST /api/key-value-pairs"
method: POST
path: "/api/key-value-pairs"
tags: ["key-value-pairs"]
---

# POST /api/key-value-pairs

`POST /api/key-value-pairs`

## Request

- The document declares no server URL.
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/fermyon/apis/fermyon-cloud-api/docs/api/key-value-pairs/post.ts> (a function with typed inputs; its response is checked against the schema)

## Headers

- `Api-Version` string

## Request body

- CreateKeyValuePairCommand
  - `appId` string, uuid
  - `storeName` string
  - `key` string, required
  - `value` string, required
  - `label` string

## Response `200`

Success

## Changes

- **2024-01-18** `902971e033f7`: 16 info
  - added the new optional request property `label` (media type: application/json-patch+json)
  - added the new optional request property `label` (media type: application/json)
  - added the new optional request property `label` (media type: text/json)
  - added the new optional request property `label` (media type: application/*+json)
  - …12 more
- **2023-03-10** `4650ad92794e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fermyon/apis/fermyon-cloud-api/changes/api/key-value-pairs/post.md)

---

[API](https://skmtc.dev/fermyon/apis/fermyon-cloud-api.md) - [All operations](https://skmtc.dev/fermyon/apis/fermyon-cloud-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fermyon/apis/fermyon-cloud-api/revisions/78d366daf86a?raw)
