Skip to main content
POST
/
file-entries
/
move
curl -X POST "https://app.drime.cloud/api/v1/file-entries/move?workspaceId=0" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "entryIds": [123, 456],
    "destinationId": 789
  }'
{
  "status": "success",
  "entries": [
    {
      "id": 123,
      "name": "document.pdf",
      "parent_id": 789,
      "updated_at": "2024-01-20T10:00:00.000000Z"
    },
    {
      "id": 456,
      "name": "photo.jpg",
      "parent_id": 789,
      "updated_at": "2024-01-20T10:00:00.000000Z"
    }
  ]
}

Overview

Moves one or more file entries to a different folder.

Query Parameters

workspaceId
integer
Workspace context

Request Body

entryIds
array
required
Array of entry IDs to move
destinationId
integer
Destination folder ID. Use null to move to root.

Response

entries
array
Array of moved file entry objects
status
string
Request status (success)
curl -X POST "https://app.drime.cloud/api/v1/file-entries/move?workspaceId=0" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "entryIds": [123, 456],
    "destinationId": 789
  }'
{
  "status": "success",
  "entries": [
    {
      "id": 123,
      "name": "document.pdf",
      "parent_id": 789,
      "updated_at": "2024-01-20T10:00:00.000000Z"
    },
    {
      "id": 456,
      "name": "photo.jpg",
      "parent_id": 789,
      "updated_at": "2024-01-20T10:00:00.000000Z"
    }
  ]
}