1 Answers
I would check out : https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketPolicy.html regarding DeleteBucketPolicy
The IAM policy simulator can also help in troubleshooting IAM issues.
https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_testing-policies.html