Trying to Remove Folder from S3 Source

When I am trying to delete a folder from S3 source via the UI I have this response

{"errorMessage":"HTTP 405 Method Not Allowed","moreInfo":""}

I can get that from network inspector

@elshafey Dremio does not allow removing your S3 folders, unless it is a CTAS table, you can do a DROP. You should not even see an option to remove folder, if it is a promoted dataset (purple icon), you can see “remove format”. If the folder is not yet formatted to a PDS and you want to remove it off S3 then you have to directly do it via S3 commands