Apply retention
curl --request POST \
--url http://127.0.0.1:4100/api/projects/{id}/policy/retention \
--header 'x-alibi-api-key: <api-key>'import requests
url = "http://127.0.0.1:4100/api/projects/{id}/policy/retention"
headers = {"x-alibi-api-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-alibi-api-key': '<api-key>'}};
fetch('http://127.0.0.1:4100/api/projects/{id}/policy/retention', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"error": "<string>"
}Policy
Apply retention
POST
/
projects
/
{id}
/
policy
/
retention
Apply retention
curl --request POST \
--url http://127.0.0.1:4100/api/projects/{id}/policy/retention \
--header 'x-alibi-api-key: <api-key>'import requests
url = "http://127.0.0.1:4100/api/projects/{id}/policy/retention"
headers = {"x-alibi-api-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-alibi-api-key': '<api-key>'}};
fetch('http://127.0.0.1:4100/api/projects/{id}/policy/retention', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"error": "<string>"
}