Delete a data import
import requests
url = "https://platform.ankra.app/api/v1/org/backup-vaults/{vault_id}/imports/{import_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/org/backup-vaults/{vault_id}/imports/{import_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://platform.ankra.app/api/v1/org/backup-vaults/{vault_id}/imports/{import_id} \
--header 'Authorization: Bearer <token>'Backups
Delete a data import
Removes the import’s dumps from the vault and hides the import. Answers 204 whether or not every object could be reached; the audit record names anything left behind. Refused while its restore runs. Requires backups.operate.
DELETE
/
api
/
v1
/
org
/
backup-vaults
/
{vault_id}
/
imports
/
{import_id}
Delete a data import
import requests
url = "https://platform.ankra.app/api/v1/org/backup-vaults/{vault_id}/imports/{import_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/org/backup-vaults/{vault_id}/imports/{import_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://platform.ankra.app/api/v1/org/backup-vaults/{vault_id}/imports/{import_id} \
--header 'Authorization: Bearer <token>'