Permanently deletes an archive.
Version header.
Value is always 2025.0
982312
The ID of the archive.
Returns an empty response when the archive has been deleted.
Returns an error if the archive is not empty.
Returned when the access token provided in the Authorization
header
is not recognized or not provided.
Returns an error if the user does not have the right permissions to delete the archive.
Returns an error if the archive is not found.
An unexpected server error.
An unexpected client error.
curl -i -X DELETE "https://api.box.com/2.0/archives/12345" \
-H "box-version: 2025.0" \
-H "authorization: Bearer <ACCESS_TOKEN>"
await client.archives.deleteArchiveByIdV2025R0(archive.id);
client.archives.delete_archive_by_id_v2025_r0(archive.id)
await client.Archives.DeleteArchiveByIdV2025R0Async(archiveId: archive.Id);
try await client.archives.deleteArchiveByIdV2025R0(archiveId: archive.id)
client.getArchives().deleteArchiveByIdV2025R0(archive.getId())