cURL
curl --request POST \ --url https://api.veryfront.com/projects/{project_reference}/uploads/{upload_id}/restore \ --header 'Authorization: Bearer <token>'
{ "id": "<string>", "file_id": "<string>", "path": "<string>", "file_name": "<string>", "content_type": "<string>", "size": 123, "is_public": true, "url": "<string>", "created_at": "<string>", "updated_at": "<string>", "deleted_at": "<string>" }
Restores a soft-deleted file if it is still within the retention period.
Authentication via JWT token or API key. JWT: Get from Veryfront dashboard. API Key: Format "vf__" - create via /api-keys endpoint.
Project ID or slug
Upload ID to restore
File restored successfully