1 Answer
- Newest
- Most votes
- Most comments
1
You can delete one archive at a time from a vault. To delete the archive you must provide its archive ID in your delete request. You can get the archive ID by downloading the vault inventory for the vault that contains the archive.
https://docs.aws.amazon.com/amazonglacier/latest/dev/deleting-an-archive.html
answered 3 years ago
Relevant content
- asked 2 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 4 years ago

I know that. I am calling it correctly but it's giving me that error.
$aws_result = $client->deleteArchive(array( 'accountId' => '123456789', 'vaultName' => 'MyFiles', 'archiveId' => 'shjgfasjdhfgjaksldghfjkasdgfjksdagfaksjd' ));