Stream Keyvals
Method POST

Add a key-value pair to the stream keyval zone

Adds a new key-value pair to the stream keyval shared memory zone. Several key-value pairs can be entered if the stream keyval shared memory zone is empty.

post/stream/keyvals/{streamKeyvalZoneName}

Request body

NginxStreamKeyvalZonePostPatch required

Contents of a stream keyval shared memory zone when using the POST or PATCH methods.

Example request

{
  "key1": "value1",
  "key2": "value2",
  "key3": {
    "value": "value3",
    "expire": 30000
  }
}

Response

Created

Changes

No recorded changes to this endpoint across all 1 revision of this API.