Skip to main content
POST
/
servers
/
{id}
/
files
/
decompress
Decompress archive
curl --request POST \
  --url https://your-domain.com/api/client/v1/servers/{id}/files/decompress \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "root": "/",
  "file": "<string>"
}
'
{
  "ok": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Server UUID.

Body

application/json
root
string
default:/
required
file
string
required

Response

Decompressed

ok
boolean