Database Views
Restore a Database View
Restores a soft-deleted Database View when its original logical name is available and returns the active definition.
POST
/
api
/
v1
/
databases
/
views
/
{databaseViewId}
/
restore
Restore a Database View
curl --request POST \
--url https://api.revoengine.com/api/v1/databases/views/{databaseViewId}/restore \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.revoengine.com/api/v1/databases/views/{databaseViewId}/restore', 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/views/{databaseViewId}/restore"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)⌘I
Restore a Database View
curl --request POST \
--url https://api.revoengine.com/api/v1/databases/views/{databaseViewId}/restore \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.revoengine.com/api/v1/databases/views/{databaseViewId}/restore', 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/views/{databaseViewId}/restore"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)
