Skip to main content
POST
Clean up one cloud-waste finding

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-ankra-organisation-id
string

PAT organisation override.

Path Parameters

finding_id
string<uuid>
required

Body

application/json
Available options:
no_snapshot_acknowledged
min_unattached_days
integer | null
Required range: 0 <= x <= 3650

Response

The cleanup operation was created

The cleanup operation and what it will do. snapshot_retained_days is set only for a snapshot-then-delete; delete (an unattached volume, on written consent) keeps no copy, and neither does reclaim_delete (a released persistent volume set to Delete on written consent, so its provisioner deletes it and the disk behind it; the operation waits for it to leave its cluster).

action
enum<string>
required
Available options:
snapshot_then_delete,
release,
delete,
reclaim_delete
kind
string
required
operation_id
string<uuid>
required
resource_name
string
required
snapshot_retained_days
integer | null
required
waste_finding_id
string<uuid>
required