Rate this page:

SetKeyValueItemRequest

Props

applicationId

Copy URL
applicationId: 

number

The application ID

applicationName

Copy URL
applicationName: 

string

|

undefined

The application name

expiresAt

Copy URL
expiresAt: 

number

|

undefined

Expiration date based on ttl (timestamp without milliseconds). Note that one of the two parameters (ttl or expires_at) must be set

key

Copy URL
key: 

string

Key, up to 200 characters. A key can contain a namespace that is written before the ':' symbol, for example, test:1234. Thus, namespace 'test' can be used as a pattern in the GetKeyValueItems and GetKeyValueKeys methods to find the keys with the same namespace

ttl

Copy URL
ttl: 

number

|

undefined

Key expiry time in seconds. The value is in range of 0..7,776,000 (90 days), the default value is 30 days (2,592,000 seconds). The TTL is converted to an expires_at Unix timestamp field as part of the storage object. Note that one of the two parameters (ttl or expires_at) must be set

value

Copy URL
value: 

string

Value for the specified key, up to 2000 characters