Pterodactyl API v1
File Manager

Decompress file

Decompresses the selected file

POST/api/client/servers/{server}/files/decompress

Authorization

ClientToken
AuthorizationBearer <token>

Client API key (generated at /account/api)

In: header

Path Parameters

server*string

Server identifier (short 8-character ID)

Request Body

application/json

root?string
file*string

Response Body

curl -X POST "https://pterodactyl.file.properties/api/client/servers/1a7ce997/files/decompress" \  -H "Authorization: Bearer ptlc_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \  -H "Accept: application/json" \  -H "Content-Type: application/json" \  -d '{  "root": "/",  "file": "archive-2020-08-23T220655Z.tar.gz"}'
Empty