Skip to main content
PUT
/
storage
/
kv
/
{bucket}
/
entries
/
{key}
Create or update KV entry
curl --request PUT \
  --url https://api.quiva.ai/storage/kv/{bucket}/entries/{key} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "John Doe",
  "email": "[email protected]",
  "age": 30
}
'
{
  "message": "success"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

bucket
string
required

Name of the bucket

key
string
required

Key of the entry

Body

application/json

Value to store in KV entry

Response

Bad Request

message
string
Example:

"success"