Skip to main content
POST
/
api
/
v2
/
vault
/
add
Add Data in Locker
curl --request POST \
  --url https://api.example.com/api/v2/vault/add \
  --header 'Content-Type: application/json' \
  --data '
{
  "entity_id": "<string>",
  "vault_id": "<string>",
  "data": {},
  "ttl": 123
}
'
{
  "entity_id": "<string>",
  "vault_id": "<string>"
}

Headers

x-tenant-id
string

Body

application/json

The request body might be JWE + JWS encrypted when using middleware

entity_id
string

Unique identifier for the entity

vault_id
string

Unique identifier for the vault

data
object
ttl
integer

Time-to-live in seconds

Response

200 - application/json

Store Data Response

entity_id
string

Unique identifier for the entity

vault_id
string

Unique identifier for the vault