cURL
curl --request POST \ --url https://dashboard.gratian.pro/api/client/servers/{server}/files/chmod \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "root": "<string>", "files": [ { "file": "<string>", "mode": 123 } ] }'
[ "<string>" ]
Updates file permissions for file(s) 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[]