cURL
curl --request PATCH \ --url https://api.example.com/evault/v1/files/{id}/ \ --header 'Content-Type: application/json' \ --header 'api-key: <api-key>' \ --data ' { "name": "<string>", "file": "<string>", "description": "<string>", "folder": "<string>", "is_starred": true, "is_archived": true, "is_deleted": true, "tags": [ "<string>" ] } '
{ "id": "<string>", "file": "<string>", "hash": "<string>", "mimetype": "<string>", "extension": "<string>", "file_size": 123, "file_size_unit": "<string>", "root": true, "access": "<string>", "file_share_id": "<string>", "is_shared": true, "tags_detail": [ { "id": "<string>", "name": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "description": "<string>" } ], "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "name": "<string>", "description": "<string>", "folder": "<string>", "is_starred": true, "is_archived": true, "is_deleted": true, "tags": [ "<string>" ] }
A unique value identifying this file upload.
Name of the file upload
255
500
1
hash of the uploaded file
indicates if the file is on the root of the file heirachy.
Show child attributes