File not removed from AWS S3 bucket

I’m able to upload images to the configured S3 bucket. However, when I remove a file using the media admin page, the file is not removed from the S3 bucket.

This is my configuration:

    filesystem:
      public:
        type: "amazon-s3"
        url: "%aws.s3.url%"
        config:
          bucket: "%aws.s3.bucket%"
          region: "%aws.s3.region%"
          endpoint: "%aws.s3.endpoint%"
          credentials:
            key: "%aws.s3.key%"
            secret: "%aws.s3.secret%"