Files

Delete entries

POST
/game-servers/{slice}/files/delete

Deletes each named entry. A directory goes with everything beneath it, and nothing is moved to a recycle bin — a backup is the only way back.

A POST rather than a DELETE because the list of paths is a body, and a DELETE with a body is handled inconsistently by proxies and clients.

Authorization

orgApiKey game-servers.files.manage
AuthorizationBearer <token>

An organisation API key, prefixed tbk_. Create one under Organisation to API keys; the plaintext is shown once.

The scopes listed on each operation are the abilities the key must carry. They are not OAuth scopes and are not negotiated per request.

In: header

Scope: game-servers.files.manage

Path Parameters

slice*string

The server's UUID, as returned by the list endpoint.

Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/game-servers/497f6eca-6276-4993-bfeb-53cbbbba6f08/files/delete" \  -H "Content-Type: application/json" \  -d '{    "files": [      "string"    ]  }'
{  "ok": true,  "message": "string"}