Skip to main content
POST
/
file-entries
/
restore
curl -X POST https://app.drime.cloud/api/v1/file-entries/restore \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "entryIds": [123, 456]
  }'
{
  "status": "success"
}

Overview

Restores one or more file entries from trash back to their original location.

Request Body

entryIds
array
required
Array of entry IDs to restore

Response

status
string
Request status (success)
curl -X POST https://app.drime.cloud/api/v1/file-entries/restore \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "entryIds": [123, 456]
  }'
{
  "status": "success"
}
To get a list of trashed files, use the /drive/file-entries endpoint with deletedOnly=true.