Skip to main content
POST
Clean up a batch of cloud waste

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.

Body

application/json
finding_ids
string<uuid>[]
required
Required array length: 1 - 100 elements

The written acknowledgement that no snapshot exists, needed by the kinds that keep no copy (unattached_volume).

Available options:
no_snapshot_acknowledged
min_unattached_days
integer | null

The age a volume must have been seen unattached; at least 30, a smaller value is raised to 30.

Required range: 0 <= x <= 3650

Response

At least one cleanup started

results
CloudWasteBatchResult · object[]
required
started
integer
required
refused
integer
required
failed
integer
required
partial
boolean
required

True when some findings started and some did not.