aws s3api delete-bucket-policy
Deletes the policy of a specified bucket. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--bucketThe bucket name.--expected-bucket-ownerThe account ID of the expected bucket owner.Deletes the policy of a specified bucket. AWS CLI reference
2 options Its page in the AWS CLI reference
--bucketThe bucket name.--expected-bucket-ownerThe account ID of the expected bucket owner.