Database Cache
Expire a Database cache value
Expire a Database cache value. The request is scoped to the authenticated instance and enforces Database cache access.
POST
Expire a Database cache value
Last modified on September 5, 2026
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Expire a Database cache value. The request is scoped to the authenticated instance and enforces Database cache access.
curl --request POST \
--url https://api.revoengine.com/api/v1/databases/cache/expire \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"data": [
{
"key": "instance:feature:flags",
"ttl": 900,
"wildcard": false
}
]
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({data: [{key: 'instance:feature:flags', ttl: 900, wildcard: false}]})
};
fetch('https://api.revoengine.com/api/v1/databases/cache/expire', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/databases/cache/expire"
payload = { "data": [
{
"key": "instance:feature:flags",
"ttl": 900,
"wildcard": False
}
] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)curl --request POST \
--url https://api.revoengine.com/api/v1/databases/cache/expire \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"data": [
{
"key": "instance:feature:flags",
"ttl": 900,
"wildcard": false
}
]
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({data: [{key: 'instance:feature:flags', ttl: 900, wildcard: false}]})
};
fetch('https://api.revoengine.com/api/v1/databases/cache/expire', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/databases/cache/expire"
payload = { "data": [
{
"key": "instance:feature:flags",
"ttl": 900,
"wildcard": False
}
] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)