cURL
curl --request POST \ --url https://api.example.com/evault/v1/files/{id}/duplicate_file/ \ --header 'Content-Type: multipart/form-data' \ --header 'api-key: <api-key>' \ --form file='@example-file' \ --form 'folder=<string>' \ --form 'name=<string>' \ --form 'description=<string>' \ --form is_starred=true \ --form is_archived=true
{ "id": "<string>", "file": "<string>", "access": "<string>", "folder": "<string>", "root": true, "name": "<string>", "description": "<string>", "is_starred": true, "is_archived": true }
A unique value identifying this file upload.
1
Name of the file upload
255
500
indicates if the file is on the root of the file heirachy.