cURL
curl --request POST \ --url https://dashboard.gratian.pro/api/client/servers/{server}/files/delete \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "root": "<string>", "files": [ "<string>" ] }'
[ "<string>" ]
Deletes files or folders for the server in the given root directory.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The server UUID
No content
The response is of type string[].
string[]