Secrets
Update secret.
ROLES: SECRET_WRITE,SECRET_ADMIN USER: true SERVICE ACCOUNT: true
PUT
Update secret.
Authorizations
Bearer JWT token or API Key (sk-*).
Path Parameters
Body
application/json
Response
OK.
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.
ROLES: SECRET_WRITE,SECRET_ADMIN USER: true SERVICE ACCOUNT: true
curl --request PUT \
--url https://api.revoengine.com/api/v1/secrets/{secretId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"version": 123
}'const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({version: 123})
};
fetch('https://api.revoengine.com/api/v1/secrets/{secretId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/secrets/{secretId}"
payload = { "version": 123 }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)Bearer JWT token or API Key (sk-*).
OK.
curl --request PUT \
--url https://api.revoengine.com/api/v1/secrets/{secretId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"version": 123
}'const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({version: 123})
};
fetch('https://api.revoengine.com/api/v1/secrets/{secretId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/secrets/{secretId}"
payload = { "version": 123 }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)