Skip to content

Update an item in a kv store

PUT
/api/v2/organizations/{organization}/projects/{project}/kv/{store_id}/items/{key}

Authorizations

Parameters

Path Parameters

organization
required
string

Organization identifier

Example
test-org
project
required
string

Project identifier

Example
test-project
store_id
required
string
Example
0000
key
required
string

Request Body required

object
value
required

Item value (can be JSON string)

string
secret

Store as secret with KMS encryption. Note: Encryption status cannot be changed after initial creation - this value is preserved from the original item.

boolean

Responses

200

The request has succeeded.

object
success
boolean
true
key
string
user-session-123
value
string

400

The server could not understand the request due to invalid syntax.

object
message
required

Error message

string
The requested resource was not found
error
required

Error flag

boolean
true
{
"message": "The requested resource was not found",
"error": true
}

403

Access is forbidden.

object
message
required

Error message

string
The requested resource was not found
error
required

Error flag

boolean
true
{
"message": "The requested resource was not found",
"error": true
}

422

Validation error.

object
message
required

Error message

string
The requested resource was not found
error
required

Error flag

boolean
true
{
"message": "The requested resource was not found",
"error": true
}