Actions29
- Server Actions
- File Actions
- Database Actions
- Backup Actions
- Account Actions
File → Delete
AI-generatedSummary
Delete specified files from a given directory on a Pterodactyl server using either user-level or admin-level API authentication.
Inputs
- Authentication (required) — Select between Client API (user-level) or Application API (admin-level) authentication for making API requests.
- Server Identifier (required) — The alphanumeric identifier of the target server on the Pterodactyl Panel (found in the server URL).
- Root Directory — The parent directory path on the server where the files to be deleted are located. Defaults to root /.
- Files (required) — A comma-separated list of file names within the specified directory to delete.
Output shape
A single JSON object confirming the deletion operation or detailing errors per file.
The output JSON will contain details returned by the Pterodactyl API after attempting file deletion. Errors are returned if deletion fails. The operation processes each input item individually and collects results accordingly.