APIFile management

Copy a file

Creates a copy of a file on the server

Creates a copy of a file on the server

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

Authorization

bearerAuth
AuthorizationBearer <token>

Enter your API token in the format: Bearer {token}

In: header

Path Parameters

server*string

Server UUID

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

location?string

Path to the file to copy

Response Body

curl -X POST "https://example.com/api/client/servers/string/files/copy" \  -H "Content-Type: application/json" \  -d '{}'
Empty
Empty
Empty
Empty
Empty