Delete a cloud storage object that is in the locked, retention-enabled bucket.

0 votes
I am not able to delete a cloud storage object that is in the locked, retention-enabled bucket. Why is this? How can I delete it?
Nov 18 in GCP by anonymous
• 6,650 points
20 views

1 answer to this question.

0 votes

No, you can't delete a cloud storage object that is in the locked, retention-enabled bucket. 

You can only delete such an object after it has fulfilled its retention period.

If you have not locked the bucket, you can temporarily remove the retention policy, remove the object, and then reinstate the retention policy.

answered Nov 18 by Sirajul
• 40,980 points

Related Questions In GCP

0 votes
1 answer
0 votes
1 answer

How to create a cloud storage bucket in GCP?

Buckets are the basic containers that hold your ...READ MORE

answered Oct 23 in GCP by Sirajul
• 40,980 points
29 views
0 votes
1 answer
0 votes
1 answer

GCP Error: 403: Access Denied

Check that your credentials are correct. For ...READ MORE

answered Oct 9 in GCP by Sirajul
• 40,980 points
32 views
0 votes
1 answer

Permissions issue with Google Cloud Storage Bucket.

You can regain access to the object by assigning an applicable role, like roles/storage.objectAdmin, to ...READ MORE

answered Oct 10 in GCP by Sirajul
• 40,980 points
93 views