@Nita , Thanks for the question. Based on my understanding of your scenario, I have shared a few suggestions below.
If my understanding of the ask is incorrect, please do clarify/ share some more details.
-If you wish to manually ‘delete’ all the files from the intended folder, you may simply use the UX “Delete” button on the App Service Kudu console. (screenshots below)
-Or as you would typically delete folder content on-prem (doc) via CMD or PowerShell, clear the content of the intended older (including subfolder, subfiles, except the Folder itself).
Important: Kindly deleted only unwanted files, as the delete operation once performed would be irreversible.
CMD/Bash
del / PATH_TO_FOLDER\*.*
for /d %i in (PATH_TO_FOLDER\*.*) do @rmdir /s "%i"
-> /S : Delete all files and subfolders in addition to the folder itself.
-> /Q : Quiet - do not display Y/N confirmation
Example:
del /q Test*
for /d %x in (Test*) do @rd /s /q "%x"
-Reference: discussion
====via cmdlet====