How to delete all files programmacticly, without deleting server #3275
FoksVHox
started this conversation in
General Community
Replies: 1 comment 2 replies
-
You'd need to use the client API to request the contents of the "/" directory, and then pass all of the files to the delete endpoint. Basically look at the request made in the UI when you select all files and press delete. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I'm currently modifying my Pterodactyl installation. How can I remove all files from a server, without removing the server programmacticly?
Beta Was this translation helpful? Give feedback.
All reactions