Config
Expire instance cache key.
ROLES: INSTANCE_ADMIN USER: true SERVICE ACCOUNT: true
POST
/
api
/
v1
/
config
/
cache
/
expire
Expire instance cache key.
curl --request POST \
--url https://api.revoengine.com/api/v1/config/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/config/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/config/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)Last modified on September 5, 2026
⌘I
Expire instance cache key.
curl --request POST \
--url https://api.revoengine.com/api/v1/config/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/config/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/config/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)
