Actions52
- Account Actions
- Backup Actions
- Database Actions
- File Actions
- Network Actions
- Schedule Actions
- Server Actions
- Startup Actions
- Subuser Actions
File → Compress
AI-generatedSummary
Compress files or directories on a specified Pterodactyl server into an archive within a given root directory.
Inputs
- Server (required) — Select the target server by its identifier to perform the compression operation on.
- Root Directory (required) — Specify the parent directory path containing the files and directories to compress.
- Files (required) — Provide a comma-separated list of file and/or directory names located in the root directory to be compressed into an archive.
Output shape
a single record containing the response from the Pterodactyl API about the compression operation result
The output includes details from the API response about the compressed archive. Processing is synchronous and returns immediately after the compression request.