Delete a bucket when you don't have access to it anymore on AWS S3

I am just starting to take AWS learningand play around with Amazon AWS S3 and I attempted to create a bucket that was private with a bucket policy. The problem now is that it is so private, I can’t do anything with it. (I know I don’t know what I am doing) I can not access it or delete it or change the bucket policy back. Here is the code I put into the bucket policy before the problem started.

      "Id": "Policy1329364010722",
      "Statement": [
        {
          "Sid": "",
          "Action": "s3:*",
          "Effect": "Deny",
          "Resource": "arn:aws:s3:::jason-private",
          "Principal": {
            "AWS": [
              "*"
            ]
          }
        }
      ]
    }
    ```

Is there any way to delete the bucket?

You aren’t suitable to cancel it because there’s a deny effect on"s3DeleteBucket"on all headliners according to this thread

You can simply follow this way-
Login as root stoner. (Not as any IAM stoner you might have specified)
Go to the S3 press.
Click on the pail you want to cancel.
Under the" Warrants" tab click on"Bucket Policy"
Click on" Cancel"
Now you’ll be suitable to cancel the pail.

AWS Training in Pune