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, 2019 in GCP by anonymous
• 19,610 points
3,320 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.

Hope it works!!

To become a Google certified professional cloud architect, join GCP Training today.

Thanks!

answered Nov 18, 2019 by Sirajul
• 59,230 points

edited Sep 21, 2021 by Sarfaraz

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 24, 2019 in GCP by Sirajul
• 59,230 points
2,720 views
0 votes
1 answer

uploading an object into the cloud storage bucket.

Suppose you want to upload an image ...READ MORE

answered Oct 24, 2019 in GCP by Sirajul
• 59,230 points
1,575 views
0 votes
1 answer

GCP Error: 403: Access Denied

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

answered Oct 9, 2019 in GCP by Sirajul
• 59,230 points
4,003 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, 2019 in GCP by Sirajul
• 59,230 points
4,939 views
0 votes
1 answer
+1 vote
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP