Delete a stack restore point
import requests
url = "https://platform.ankra.app/api/v1/org/clusters/imported/{cluster_id}/stacks/{stack_name}/restore-points/{restore_point_id}"
payload = { "confirm": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.delete(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({confirm: '<string>'})
};
fetch('https://platform.ankra.app/api/v1/org/clusters/imported/{cluster_id}/stacks/{stack_name}/restore-points/{restore_point_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/clusters/imported/{cluster_id}/stacks/{stack_name}/restore-points/{restore_point_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"confirm": "<string>"
}
'{
"restore_point_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "<string>",
"operation_id": "<string>",
"objects_retained_reason": "<string>"
}{
"detail": "<string>",
"error_code": "<string>"
}{
"detail": "<string>",
"error_code": "<string>"
}Backups
Delete a stack restore point
Deletes a restore point and sweeps its objects from the vault, answering 202. A restore point on hold or under retention is refused, and the last complete restore point of a protected stack needs the stack’s name as confirm. Requires backups.manage.
DELETE
/
api
/
v1
/
org
/
clusters
/
imported
/
{cluster_id}
/
stacks
/
{stack_name}
/
restore-points
/
{restore_point_id}
Delete a stack restore point
import requests
url = "https://platform.ankra.app/api/v1/org/clusters/imported/{cluster_id}/stacks/{stack_name}/restore-points/{restore_point_id}"
payload = { "confirm": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.delete(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({confirm: '<string>'})
};
fetch('https://platform.ankra.app/api/v1/org/clusters/imported/{cluster_id}/stacks/{stack_name}/restore-points/{restore_point_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/clusters/imported/{cluster_id}/stacks/{stack_name}/restore-points/{restore_point_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"confirm": "<string>"
}
'{
"restore_point_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "<string>",
"operation_id": "<string>",
"objects_retained_reason": "<string>"
}{
"detail": "<string>",
"error_code": "<string>"
}{
"detail": "<string>",
"error_code": "<string>"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The imported cluster.
The stack's name on the cluster.
The restore point.
Body
application/json
Optional.
The stack's name; required to delete the last complete restore point of a protected stack.